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
|
season, episode, episodeTitle, episodeDirector, episodeYear
|
||||||
'''
|
'''
|
||||||
item_data = {
|
item_data = {
|
||||||
'title': info['title'],
|
'title': info.get('title', ''),
|
||||||
'director': info['director'],
|
'director': info.get('director', []),
|
||||||
'year': info.get('year', '')
|
'year': info.get('year', '')
|
||||||
}
|
}
|
||||||
for key in ('episodeTitle', 'episodeDirector', 'episodeYear',
|
for key in ('episodeTitle', 'episodeDirector', 'episodeYear',
|
||||||
|
|
Loading…
Reference in a new issue