diff --git a/client/app.py b/client/app.py index 91f2321..7294a0f 100644 --- a/client/app.py +++ b/client/app.py @@ -660,8 +660,6 @@ def updateProfile(self, new): 'user_lang': client.api.user_lang, 'targetID': client.api.targetID, })) - dlg = QMessageBox() - dlg.setWindowTitle('NSO-RPC') # Restart NSO-RPC to apply changes Restart_NSORPC() diff --git a/client/cli.py b/client/cli.py index 8e43ad4..e66dc4d 100644 --- a/client/cli.py +++ b/client/cli.py @@ -162,7 +162,7 @@ def logout(self): os.remove(os.path.join(applicationPath, 'settings.txt')) except: pass - sys.exit() + Restart_NSORPC() def getToken(manual = True, path: str = os.path.join(applicationPath, 'private.txt')):