Remove obsolete code
This commit is contained in:
parent
97d777fdee
commit
952ad796dd
2 changed files with 0 additions and 14 deletions
|
@ -48,16 +48,6 @@ class DownloadUtils():
|
||||||
self.server = server
|
self.server = server
|
||||||
LOG.debug("Set server: %s", 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):
|
def setSSL(self, verifySSL=None, certificate=None):
|
||||||
"""
|
"""
|
||||||
Reserved for userclient only
|
Reserved for userclient only
|
||||||
|
@ -94,7 +84,6 @@ class DownloadUtils():
|
||||||
|
|
||||||
# Set other stuff
|
# Set other stuff
|
||||||
self.setServer(window('pms_server'))
|
self.setServer(window('pms_server'))
|
||||||
self.setToken(window('pms_token'))
|
|
||||||
|
|
||||||
# Counters to declare PMS dead or unauthorized
|
# Counters to declare PMS dead or unauthorized
|
||||||
# Use window variables because start of movies will be called with a
|
# Use window variables because start of movies will be called with a
|
||||||
|
|
|
@ -276,9 +276,6 @@ class UserClient(Thread):
|
||||||
settings('userid', value='')
|
settings('userid', value='')
|
||||||
settings('accessToken', value='')
|
settings('accessToken', value='')
|
||||||
|
|
||||||
# Reset token in downloads
|
|
||||||
self.doUtils.setToken('')
|
|
||||||
|
|
||||||
self.currToken = None
|
self.currToken = None
|
||||||
self.auth = True
|
self.auth = True
|
||||||
self.currUser = None
|
self.currUser = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue