mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Changed function return type
This commit is contained in:
parent
a044c1fd29
commit
37a836dd57
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class ConnectionManager(object):
|
||||||
found_server = server
|
found_server = server
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
return # No server found
|
return {} # No server found
|
||||||
|
|
||||||
found_server['DateLastAccessed'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ')
|
found_server['DateLastAccessed'] = datetime.now().strftime('%Y-%m-%dT%H:%M:%SZ')
|
||||||
found_server['UserId'] = data['User']['Id']
|
found_server['UserId'] = data['User']['Id']
|
||||||
|
|
Loading…
Reference in a new issue