tagline is not a dict

This commit is contained in:
j 2008-07-04 12:24:48 +02:00
parent f653e02887
commit 7df07d8a61

View file

@ -74,7 +74,7 @@ def getMovieInfo(imdbId):
if k.endswith('more'): k=k[:-len('more')].strip() if k.endswith('more'): k=k[:-len('more')].strip()
return k return k
txt = cleanUp(txt) txt = cleanUp(txt)
if title not in ('plot', 'trivia', 'filming locations', 'mpaa'): if title not in ('plot', 'trivia', 'filming locations', 'mpaa', 'tagline'):
if '|' in txt: if '|' in txt:
txt = [cleanUp(k) for k in txt.split('|')] txt = [cleanUp(k) for k in txt.split('|')]
elif ', ' in txt: elif ', ' in txt: