not
This commit is contained in:
parent
28897ff79d
commit
7d07fef127
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def getPosters(movie_id, url_prefix='', limit=lambda x, y: 0.3 < x/y < 1):
|
|||
if p.site not in posters:
|
||||
posters[p.site] = []
|
||||
poster = p.get()
|
||||
if poster and not poster.width or not poster.height:
|
||||
if poster and (not poster.width or not poster.height):
|
||||
p.failed = True
|
||||
p.status = "invalid image"
|
||||
p.image.delete()
|
||||
|
|
Loading…
Reference in a new issue