mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +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)
|
result = self.doUtils(url, parameters=params)
|
||||||
items['Items'].extend(result['Items'])
|
items['Items'].extend(result['Items'])
|
||||||
except Warning as error:
|
except Warning as error:
|
||||||
if error == "400":
|
if "400" in error:
|
||||||
log.info("Something went wrong, aborting request.")
|
log.info("Something went wrong, aborting request.")
|
||||||
break
|
break
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
|
Loading…
Reference in a new issue