def start()

in src/fix_session.py [0:0]


    def start(self):
        if not self.initiator.isStopped():
            raise Exception("Session is already started")

        self.application.session_id = None
        self.application.logged_out = False
        self.initiator.start()

        # wait for the client to login
        while not self.application.session_id and not self.application.logged_out:
            time.sleep(0.1)

        if not self.application.session_id:
            raise Exception("Login failed")