Fix AttributeError
This commit is contained in:
parent
114895c183
commit
7bf6d19708
1 changed files with 4 additions and 2 deletions
|
@ -264,8 +264,10 @@ class UserClient(Thread):
|
||||||
Reset all user settings
|
Reset all user settings
|
||||||
"""
|
"""
|
||||||
LOG.debug("Reset UserClient authentication.")
|
LOG.debug("Reset UserClient authentication.")
|
||||||
self.do_utils.stopSession()
|
try:
|
||||||
|
self.do_utils.stopSession()
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
window('plex_authenticated', clear=True)
|
window('plex_authenticated', clear=True)
|
||||||
state.AUTHENTICATED = False
|
state.AUTHENTICATED = False
|
||||||
window('pms_token', clear=True)
|
window('pms_token', clear=True)
|
||||||
|
|
Loading…
Reference in a new issue