Fix bug
This commit is contained in:
parent
0dc4f91908
commit
f547a4bb4c
1 changed files with 3 additions and 3 deletions
|
@ -232,9 +232,6 @@ class UserClient(threading.Thread):
|
||||||
self.resetClient()
|
self.resetClient()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Set user preferences in settings
|
|
||||||
self.setUserPref()
|
|
||||||
|
|
||||||
# Set to windows property
|
# Set to windows property
|
||||||
WINDOW.setProperty("currUser", username)
|
WINDOW.setProperty("currUser", username)
|
||||||
WINDOW.setProperty("accessToken%s" % username, self.currToken)
|
WINDOW.setProperty("accessToken%s" % username, self.currToken)
|
||||||
|
@ -253,6 +250,9 @@ class UserClient(threading.Thread):
|
||||||
# Start DownloadUtils session
|
# Start DownloadUtils session
|
||||||
doUtils.startSession()
|
doUtils.startSession()
|
||||||
|
|
||||||
|
# Set user preferences in settings
|
||||||
|
self.setUserPref()
|
||||||
|
|
||||||
self.currUser = username
|
self.currUser = username
|
||||||
|
|
||||||
def authenticate(self):
|
def authenticate(self):
|
||||||
|
|
Loading…
Reference in a new issue