creator exists only for series

This commit is contained in:
j 2011-11-22 12:42:15 +01:00
parent 2a04bb8a74
commit ccab080e3f

View file

@ -344,7 +344,10 @@ class Imdb(SiteParser):
self[key] = filter(lambda x: x.lower() != 'home', self[key])
#0092999
if '_director' in self:
self['creator'] = self.pop('_director')
if 'series' in self:
self['creator'] = self.pop('_director')
else:
del self['_director']
if 'series' in self:
if 'episodeTitle' in self: