def logoff(): Login.logoff() exit()
def logoff(self, msg=None): if Login.logoff(msg): self.manager.transition.direction = 'right' self.manager.current = 'login'