dvdid might not be set

This commit is contained in:
j 2019-11-20 13:20:09 +01:00
parent e8995ea46c
commit df46b872fe

View file

@ -36,7 +36,7 @@ def render_poster(data, poster):
director = director.replace(key, value) director = director.replace(key, value)
year = str(data.get('year', '')) year = str(data.get('year', ''))
duration = data.get('duration') duration = data.get('duration')
dvd_id = data['dvdid'] dvd_id = data.get('dvdid', '')
id = data['id'] id = data['id']
frame = data.get('frame') frame = data.get('frame')
timeline = data.get('timeline') timeline = data.get('timeline')