mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Correct exception condition
This commit is contained in:
parent
dc574ad10d
commit
30522dff08
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class Read_EmbyServer():
|
|||
result = self.doUtils(url, parameters=params)
|
||||
items['Items'].extend(result['Items'])
|
||||
except Warning as error:
|
||||
if error == "400":
|
||||
if "400" in error:
|
||||
log.info("Something went wrong, aborting request.")
|
||||
break
|
||||
except TypeError:
|
||||
|
|
Loading…
Reference in a new issue