How to call out function after self.session.open()

  • Hi,


    I've got some function (lets name it: def doSomethink).


    For my program I need that this function should be called during __init__ of main program (that is simple), and always (automatically and imeditly) when I came back from configure menu.


    My code looks like this (but without automatic calling function after closing Config menu):



    How to achieve automatic function call off after closing config menu (self.sesion.open(....)?

    "Reasonable people adapt themselves to the world.
    Unreasonable people attempt to adapt the world to themselves.
    All progress, therefore, depends on unreasonable people"


    ============
    SubsDownloader