mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Remove logging, fix typo
This commit is contained in:
parent
3525577dfc
commit
0d906432c1
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue