mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix if no servers is returned
This commit is contained in:
parent
5e7d0e3a6a
commit
c823be1daa
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class ConnectManager(object):
|
||||||
'connect_manager': self._connect,
|
'connect_manager': self._connect,
|
||||||
'username': user.get('DisplayName', ""),
|
'username': user.get('DisplayName', ""),
|
||||||
'user_image': user.get('ImageUrl'),
|
'user_image': user.get('ImageUrl'),
|
||||||
'servers': state['Servers'],
|
'servers': state.get('Servers') or [],
|
||||||
'emby_connect': False if user else True
|
'emby_connect': False if user else True
|
||||||
}
|
}
|
||||||
dialog.set_args(**kwargs)
|
dialog.set_args(**kwargs)
|
||||||
|
|
Loading…
Reference in a new issue