Prevent crash missing productionlocations

seems to be a new server bug
This commit is contained in:
angelblue05 2016-10-08 05:06:26 -05:00
parent 2be47a1e4f
commit 11e5de378b
1 changed files with 2 additions and 1 deletions

View File

@ -486,6 +486,7 @@ class Movies(Items):
kodicursor.execute(query, (pathid, filename, dateadded, fileid))
# Process countries
if 'ProductionLocations' in item:
self.kodi_db.addCountries(movieid, item['ProductionLocations'], "movie")
# Process cast
people = artwork.get_people_artwork(item['People'])