Remove obsolete userid attribute

This commit is contained in:
tomkat83 2017-05-17 15:45:59 +02:00
parent 8ae68a7158
commit 056d4c86a3
2 changed files with 0 additions and 9 deletions

View file

@ -49,13 +49,6 @@ class DownloadUtils():
self.username = username self.username = username
log.debug("Set username: %s" % username) log.debug("Set username: %s" % username)
def setUserId(self, userId):
"""
Reserved for userclient only
"""
self.userId = userId
log.debug("Set userId: %s" % userId)
def setServer(self, server): def setServer(self, server):
""" """
Reserved for userclient only Reserved for userclient only
@ -110,7 +103,6 @@ class DownloadUtils():
# Set other stuff # Set other stuff
self.setServer(window('pms_server')) self.setServer(window('pms_server'))
self.setToken(window('pms_token')) self.setToken(window('pms_token'))
self.setUserId(window('currUserId'))
self.setUsername(window('plex_username')) self.setUsername(window('plex_username'))
# Counters to declare PMS dead or unauthorized # Counters to declare PMS dead or unauthorized

View file

@ -287,7 +287,6 @@ class UserClient(threading.Thread):
# Reset token in downloads # Reset token in downloads
self.doUtils.setToken('') self.doUtils.setToken('')
self.doUtils.setUserId('')
self.doUtils.setUsername('') self.doUtils.setUsername('')
self.currToken = None self.currToken = None