mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix index error
This commit is contained in:
parent
1ca4ef48f5
commit
5afeeed62c
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ def addUser():
|
||||||
result = doUtils.downloadUrl(url)
|
result = doUtils.downloadUrl(url)
|
||||||
try:
|
try:
|
||||||
additionalUsers = result[0]['AdditionalUsers']
|
additionalUsers = result[0]['AdditionalUsers']
|
||||||
except (KeyError, TypeError) as error:
|
except (IndexError, KeyError, TypeError) as error:
|
||||||
log.error(error)
|
log.error(error)
|
||||||
additionaluser = []
|
additionaluser = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue