diff --git a/resources/lib/api.py b/resources/lib/api.py index 03d43200..d0ad8594 100644 --- a/resources/lib/api.py +++ b/resources/lib/api.py @@ -358,7 +358,7 @@ class API(object): try: country = self.item['ProductionLocations'][0] - except IndexError: + except (IndexError, KeyError): country = None return country