diff --git a/resources/lib/downloadutils.py b/resources/lib/downloadutils.py index ff23b7c1..b4536c7e 100644 --- a/resources/lib/downloadutils.py +++ b/resources/lib/downloadutils.py @@ -48,16 +48,6 @@ class DownloadUtils(): self.server = server LOG.debug("Set server: %s", server) - def setToken(self, token): - """ - Reserved for userclient only - """ - self.token = token - if token == '': - LOG.debug('Set token: empty token!') - else: - LOG.debug("Set token: xxxxxxx") - def setSSL(self, verifySSL=None, certificate=None): """ Reserved for userclient only @@ -94,7 +84,6 @@ class DownloadUtils(): # Set other stuff self.setServer(window('pms_server')) - self.setToken(window('pms_token')) # Counters to declare PMS dead or unauthorized # Use window variables because start of movies will be called with a diff --git a/resources/lib/userclient.py b/resources/lib/userclient.py index 460220d7..e5438397 100644 --- a/resources/lib/userclient.py +++ b/resources/lib/userclient.py @@ -276,9 +276,6 @@ class UserClient(Thread): settings('userid', value='') settings('accessToken', value='') - # Reset token in downloads - self.doUtils.setToken('') - self.currToken = None self.auth = True self.currUser = None