check before use

This commit is contained in:
j 2011-10-15 19:03:32 +02:00
parent e756062749
commit 1b9c4d288c

View file

@ -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: