From 952ad796dd428646de51aebb1b82c36763e7b9a0 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 14 Feb 2018 20:10:11 +0100 Subject: [PATCH] Remove obsolete code --- resources/lib/downloadutils.py | 11 ----------- resources/lib/userclient.py | 3 --- 2 files changed, 14 deletions(-) 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