From 4a649756c1827589c48a60a838dfbec53042ef78 Mon Sep 17 00:00:00 2001 From: Andrew Kravchuk Date: Fri, 20 Dec 2024 12:56:22 +0100 Subject: [PATCH] Don't discard the result of post-processing --- thumbnails/post_processors.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thumbnails/post_processors.py b/thumbnails/post_processors.py index 180da35..8103774 100644 --- a/thumbnails/post_processors.py +++ b/thumbnails/post_processors.py @@ -23,7 +23,9 @@ def process(thumbnail_file, size, **kwargs): size_dict = conf.SIZES[size] for processor in size_dict['POST_PROCESSORS']: - processor['processor'](thumbnail_file, **processor['kwargs']) + thumbnail_file = processor['processor']( + thumbnail_file, **processor['kwargs'] + ) return thumbnail_file