def OnNormalSwitch(self, e): from gui import mainWindow profile.putPreference('startMode', 'Normal') mainWindow.mainWindow() self.Close()
def main(): mw.mainWindow()