genre is array

This commit is contained in:
j 2009-08-03 12:44:04 +02:00
parent e8e42401aa
commit 93bd2e72e9
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def getMovieInfo(imdbId):
txt = [cleanUp(k) for k in txt.split('|')]
elif ', ' in txt:
txt = [cleanUp(k) for k in txt.split(', ')]
elif title in ('country', 'language'):
elif title in ('country', 'language', 'genre'):
txt = [cleanUp(txt), ]
if title == 'tv series':
info['series_imdb'] = findRe(i[1], 'tt(\d{7})')