remove quotes

This commit is contained in:
j 2011-08-10 16:16:04 +02:00
parent 87877ff64a
commit a691759a12

View file

@ -273,8 +273,9 @@ class Imdb(SiteParser):
self['title'] = self.get('english_title', self['original_title']) self['title'] = self.get('english_title', self['original_title'])
if 'title' in self and self['title'].startswith('"') and self['title'].endswith('"'): for t in ('title', 'english_title', 'original_title'):
self['title'] = self['title'][1:-1] if t in self and self[t].startswith('"') and self[t].endswith('"'):
self[t] = self[t][1:-1]
if 'alternative_titles' in self: if 'alternative_titles' in self:
self['alternative_titles'] = [[t[0], self['alternative_titles'] = [[t[0],