alternative title

This commit is contained in:
j 2010-12-23 14:39:22 +05:30
parent ce17d0a36b
commit 04ce15caa1

View file

@ -238,7 +238,7 @@ class Imdb(SiteParser):
if 'usa' in t[1].lower(): return True
if 'international' in t[1].lower(): return True
return False
ititle = filter(is_international_title, self['alternative_titles'])
ititle = filter(is_international_title, self.get('alternative_titles', []))
if ititle:
self['english_title'] = ititle[0][0]