Remove logging, fix typo

This commit is contained in:
angelblue05 2016-10-22 21:44:06 -05:00
parent 3525577dfc
commit 0d906432c1
2 changed files with 3 additions and 3 deletions

View file

@ -17,12 +17,13 @@ log = logging.getLogger("EMBY."+__name__.split('.')[-1])
class Credentials(object): class Credentials(object):
_shared_state = {} # Borg
credentials = None credentials = None
path = "" path = ""
def __init__(self): def __init__(self):
pass self.__dict__ = self._shared_state
def setPath(self, path): def setPath(self, path):
# Path to save persistant data.txt # Path to save persistant data.txt

View file

@ -210,8 +210,7 @@ class ConnectManager(object):
for cred_server in credentials['Servers']: for cred_server in credentials['Servers']:
if server['Id'] == cred_server['Id']: if server['Id'] == cred_server['Id']:
# Update token saved in current state # Update token saved in current state
server.update(server) server.update(cred_server)
log.info(self.get_state())
# Update the token in data.txt # Update the token in data.txt
self._connect.credentialProvider.getCredentials(credentials) self._connect.credentialProvider.getCredentials(credentials)