forked from 0x2620/pandora
move items
This commit is contained in:
parent
8cedba5c79
commit
63aee8e010
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ def get_item(info, user=None, async=False):
|
|||
season, episode, episodeTitle, episodeDirector, episodeYear
|
||||
'''
|
||||
item_data = {
|
||||
'title': info['title'],
|
||||
'director': info['director'],
|
||||
'title': info.get('title', ''),
|
||||
'director': info.get('director', []),
|
||||
'year': info.get('year', '')
|
||||
}
|
||||
for key in ('episodeTitle', 'episodeDirector', 'episodeYear',
|
||||
|
|
Loading…
Reference in a new issue