def launch(): freeze_support() check_app_running() me = singleton.SingleInstance() windows_appusermodelid() app = QtGui.QApplication(sys.argv) QtGui.QApplication.setQuitOnLastWindowClosed(False) if check_settings() == False or is_user_info_invalid() == True: waiting = WaitingWindow() else: main = MainWindow() sys.exit(app.exec_())
def launch(): freeze_support() check_app_running() me = singleton.SingleInstance() if sys.platform == "win32": windows_appusermodelid() app = QApplication(sys.argv) app.setWindowIcon(QtGui.QIcon(resource_path("icons/windows_icon.ico"))) QApplication.setQuitOnLastWindowClosed(False) if check_settings() == False or is_user_info_invalid() == True: waiting = WaitingWindow() else: main = MainWindow() sys.exit(app.exec_())
def launch(): freeze_support() check_app_running() me = singleton.SingleInstance() if sys.platform == 'win32': windows_appusermodelid() app = QApplication(sys.argv) app.setWindowIcon(QtGui.QIcon(resource_path('icons/windows_icon.ico'))) QApplication.setQuitOnLastWindowClosed(False) if check_settings() == False or is_user_info_invalid() == True: waiting = WaitingWindow() else: main = MainWindow() sys.exit(app.exec_())
def check_db(self): if check_settings() == True and is_user_info_invalid() == False: time.sleep(0.2) self.caught_credentials()
def check_db(self): if check_settings() == True and is_user_info_invalid() == False: time.sleep(0.2) self.caught_credentials()