From b27a059ccb0de549c71acf2a42afe74c593328e2 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Tue, 9 Sep 2025 14:34:53 +0200 Subject: [PATCH] Update src/pretix/helpers/thumb.py Co-authored-by: Richard Schreiber --- src/pretix/helpers/thumb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pretix/helpers/thumb.py b/src/pretix/helpers/thumb.py index eda30c920e..037b681c78 100644 --- a/src/pretix/helpers/thumb.py +++ b/src/pretix/helpers/thumb.py @@ -135,7 +135,6 @@ def get_sizes(size, imgsize): wfactor = min(1, size[0] / imgsize[0]) hfactor = min(1, size[1] / imgsize[1]) limited_by_input = size[1] > imgsize[1] and size[0] > imgsize[0] - print(size, imgsize, size[1] / imgsize[1], size[0] / imgsize[0], limited_by_input) if crop: # currently crop and min-size cannot be combined