From 44d650072ad236f6490f915de45f8560d6708111 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 23 Sep 2020 18:52:15 +0200 Subject: [PATCH] Moved arl clear on window open instead of window close --- deemix-pyweb.py | 1 + server.py | 1 - webui | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deemix-pyweb.py b/deemix-pyweb.py index 70185e4..1eab1be 100644 --- a/deemix-pyweb.py +++ b/deemix-pyweb.py @@ -151,6 +151,7 @@ class MainWindow(QMainWindow): self._selectDownloadFolder_semaphore.release() def appLogin(self): + self.arl = None loginWindow = LoginWindow(self) self.arl = loginWindow.arl self._appLogin_semaphore.release() diff --git a/server.py b/server.py index 8dda01b..c5f558a 100644 --- a/server.py +++ b/server.py @@ -400,7 +400,6 @@ def applogin(): gui._appLogin_semaphore.acquire() if gui.arl: emit('applogin_arl', gui.arl) - gui.arl = None else: emit('logged_in', {'status': 2, 'user': session['dz'].user}) else: diff --git a/webui b/webui index 760ce91..c119803 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit 760ce913b6e36c7d418927dc34f6ef1f37c272d9 +Subproject commit c1198037a84fed2cfa9e782035c8345c444996b6