From f0aafda4642841704793ba556a0dfe6cad3290a9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 19:42:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- screenshots/thumbs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/screenshots/thumbs.py b/screenshots/thumbs.py index 03fb0990..39aeaf10 100644 --- a/screenshots/thumbs.py +++ b/screenshots/thumbs.py @@ -24,6 +24,7 @@ def generate_thumb(img, thumb_size, format): # noqa: D417, A002 format format of the original image ('jpeg','gif','png',...) (this format will be used for the generated thumbnail, too) + """ img.seek(0) # see http://code.djangoproject.com/ticket/8222 for details image = Image.open(img)