Correct exception condition

This commit is contained in:
angelblue05 2016-10-04 19:42:01 -05:00
parent dc574ad10d
commit 30522dff08

View file

@ -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: