1
0
mirror of https://github.com/sjlongland/tornado-gallery.git synced 2025-09-14 00:53:19 +10:00

photo: Fix invalid variable name

This commit is contained in:
Stuart Longland 2018-04-18 13:04:54 +10:00
parent a002a21ee5
commit c7be34ce58
Signed by: stuartl
GPG Key ID: 6AA32EFB18079BAA

View File

@ -118,7 +118,7 @@ class Photo(object):
# Dimensions and orientation # Dimensions and orientation
uri += '/%sx%s' % (width or '-', height or '-') uri += '/%sx%s' % (width or '-', height or '-')
if rotation: if rotation:
dims += '@%f' % rotation uri += '@%f' % rotation
# Quality # Quality
uri += '/%f' % quality uri += '/%f' % quality