From c7be34ce58d8a7825d20f1faa4d5f21cd8b7e634 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Wed, 18 Apr 2018 13:04:54 +1000 Subject: [PATCH] photo: Fix invalid variable name --- tornado_gallery/photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado_gallery/photo.py b/tornado_gallery/photo.py index c5594e2..6e1fe9c 100644 --- a/tornado_gallery/photo.py +++ b/tornado_gallery/photo.py @@ -118,7 +118,7 @@ class Photo(object): # Dimensions and orientation uri += '/%sx%s' % (width or '-', height or '-') if rotation: - dims += '@%f' % rotation + uri += '@%f' % rotation # Quality uri += '/%f' % quality