From 50ab2143ecddf3eae73c56c286f64368bf807c42 Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Tue, 5 May 2015 00:12:40 +0200 Subject: [PATCH] Heh :-D --- scanner/PhotoAlbum.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner/PhotoAlbum.py b/scanner/PhotoAlbum.py index 9cd42aa..b373563 100644 --- a/scanner/PhotoAlbum.py +++ b/scanner/PhotoAlbum.py @@ -298,9 +298,9 @@ class Photo(object): mirror = image.transpose(Image.ROTATE_90) image = mirror - self._thumbnail(image, original_path, thumb_path, original_path, size, square) + self._thumbnail(image, original_path, thumb_path, size, square) - def _thumbnail(image, original_path, thumb_path, original_path, size, square): + def _thumbnail(self, image, original_path, thumb_path, size, square): thumb_path = os.path.join(thumb_path, image_cache(self._path, size, square)) info_string = "%s -> %spx" % (os.path.basename(original_path), str(size)) if square: