check before use

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

View file

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