also fix title in ImdbCombined

This commit is contained in:
j 2010-10-08 17:47:13 +02:00
parent ddc1d1ef43
commit 8230cb7c40

View file

@ -246,7 +246,7 @@ class ImdbCombined(Imdb):
def __init__(self, id, timeout=-1): def __init__(self, id, timeout=-1):
_regex = {} _regex = {}
for key in self.regex: for key in self.regex:
if self.regex[key]['page'] == 'combined': if self.regex[key]['page'] == 'combined' or key == 'alternative_titles':
_regex[key] = self.regex[key] _regex[key] = self.regex[key]
self.regex = _regex self.regex = _regex
super(ImdbCombined, self).__init__(id, timeout) super(ImdbCombined, self).__init__(id, timeout)