def destroyWin(self, event=None): self.session.append_db() if DEBUG: print("\n{}\n".format(Session.sessions_lst())) self.destroy()