check before use
This commit is contained in:
parent
e756062749
commit
1b9c4d288c
1 changed files with 2 additions and 1 deletions
|
@ -330,6 +330,7 @@ class Imdb(SiteParser):
|
|||
self[key] = filter(lambda x: x.lower() != 'home', self[key])
|
||||
|
||||
if 'creator' in self:
|
||||
if 'director' in self:
|
||||
self['episodeDirector'] = self['director']
|
||||
self['director'] = self['creator']
|
||||
if 'series' in self:
|
||||
|
|
Loading…
Reference in a new issue