filter out scene strips

This commit is contained in:
j 2010-09-17 12:15:39 +02:00
parent 3943fcfdeb
commit 47c821c34a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def getPosters(movie_id, url_prefix='', limit=lambda x, y: 0.3 < x/y < 1):
pjson['url'] = url_prefix + poster._get_url()
pjson['width'] = poster.width
pjson['height'] = poster.height
if p.site not in ['other'] or limit(poster.width, poster.height):
if p.site not in ['other', 'wikipedia.org'] or limit(poster.width, poster.height):
posters[p.site].append(pjson)
for p in posters.keys():
if not posters[p]: