Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and nijel committed Feb 6, 2024
1 parent 75d8500 commit f0aafda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions screenshots/thumbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f0aafda

Please sign in to comment.