From 39605578d7b28328cdb9eeb468a8c1a000cd9ab2 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 11 Apr 2019 02:46:32 +0300 Subject: [PATCH] fix tapas merging --- feeds/modules/tapas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/modules/tapas.py b/feeds/modules/tapas.py index 3e36946..92a87a4 100644 --- a/feeds/modules/tapas.py +++ b/feeds/modules/tapas.py @@ -61,7 +61,7 @@ class TapasFeedModuleConfig(FeedModuleConfig): ims.append(Image.open(img_path)) widths, heights = zip(*(i.size for i in ims)) max_width = max(widths) - total_height = max(heights) + total_height = sum(heights) new_im = Image.new('RGB', (max_width, total_height)) offset = 0 for im in ims: