Skip to content

Commit

Permalink
Apply auto-restart on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
MCMi460 committed Feb 1, 2024
1 parent 5862bdc commit cae80b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion client/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')):
Expand Down

0 comments on commit cae80b0

Please sign in to comment.