From d75f94ffcbdd94b29338332a80281f1b81ae6914 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 26 Jul 2017 15:36:59 +0200 Subject: [PATCH] typo --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 91bed423..9999ef55 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -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')