Skip to content
Permalink
Browse files
My bad! Fixed stupid bug in iamge resizing
  • Loading branch information
ralsina committed Jul 20, 2016
1 parent e0b6671 commit 13c9a281314b65f341604e120d4c3e9f494ca38e
Showing with 9 additions and 1 deletion.
  1. +8 −0 CHANGES.txt
  2. +1 −1 nikola/image_processing.py
@@ -1,3 +1,11 @@
New in master
=============

Bugfixes
--------

* Brown bag bug in image resizing (ralsina says my fault!)

New in v7.7.10
==============

@@ -99,7 +99,7 @@ def resize_image(self, src, dst, max_size, bigger_panoramas=True, preserve_exif_
self.resize_svg(src, dst, max_size, bigger_panoramas)
return
im = Image.open(src)
w, h = im.size
size = w, h = im.size
if w > max_size or h > max_size:
size = max_size, max_size

0 comments on commit 13c9a28

Please sign in to comment.