forked from 0x2620/pandora
typo
This commit is contained in:
parent
0043eab61d
commit
d75f94ffcb
1 changed files with 1 additions and 1 deletions
|
@ -874,7 +874,7 @@ def poster(request, id, size=None):
|
|||
icon=item.icon.name,
|
||||
json=item.get_json()
|
||||
)
|
||||
if item.poster and os.path.exists(image.poster.path):
|
||||
if item.poster and os.path.exists(item.poster.path):
|
||||
return image_to_response(item.poster, size)
|
||||
else:
|
||||
poster_path = os.path.join(settings.STATIC_ROOT, 'jpg/poster.jpg')
|
||||
|
|
Loading…
Reference in a new issue