mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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):
|
||||
|
||||
_shared_state = {} # Borg
|
||||
credentials = None
|
||||
path = ""
|
||||
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
self.__dict__ = self._shared_state
|
||||
|
||||
def setPath(self, path):
|
||||
# Path to save persistant data.txt
|
||||
|
|
|
@ -210,8 +210,7 @@ class ConnectManager(object):
|
|||
for cred_server in credentials['Servers']:
|
||||
if server['Id'] == cred_server['Id']:
|
||||
# Update token saved in current state
|
||||
server.update(server)
|
||||
log.info(self.get_state())
|
||||
server.update(cred_server)
|
||||
# Update the token in data.txt
|
||||
self._connect.credentialProvider.getCredentials(credentials)
|
||||
|
||||
|
|
Loading…
Reference in a new issue