mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 17:56:11 +00:00
Fix typo
This commit is contained in:
parent
a658459862
commit
8319f2f0df
2 changed files with 1 additions and 2 deletions
|
@ -606,7 +606,6 @@ class ConnectionManager(object):
|
||||||
'X-MediaBrowser-Token': server['AccessToken']
|
'X-MediaBrowser-Token': server['AccessToken']
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
# TODO: add apiclient
|
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
server['UserId'] = None
|
server['UserId'] = None
|
||||||
|
|
|
@ -155,7 +155,7 @@ class LibrarySync(threading.Thread):
|
||||||
overlap = 2
|
overlap = 2
|
||||||
|
|
||||||
try: # datetime fails when used more than once, TypeError
|
try: # datetime fails when used more than once, TypeError
|
||||||
if isFastSync:
|
if self.isFastSync:
|
||||||
result = self.doUtils("{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json")
|
result = self.doUtils("{server}/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json")
|
||||||
server_time = result['ServerDateTime']
|
server_time = result['ServerDateTime']
|
||||||
server_time = utils.convertDate(server_time)
|
server_time = utils.convertDate(server_time)
|
||||||
|
|
Loading…
Reference in a new issue