Skip to content

Commit

Permalink
fix thumbnail resizing with FileSystemStorage
Browse files Browse the repository at this point in the history
  • Loading branch information
noliveleger committed Aug 8, 2024
1 parent e4bc393 commit 2a2b718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/libs/utils/image_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def resize(filename):
if is_local:
path = default_storage.path(filename)
image = Image.open(path)
original_path = path
original_path = filename
else:
path = default_storage.url(filename)
original_path = filename
Expand Down

0 comments on commit 2a2b718

Please sign in to comment.