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