Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
孙永强 committed Sep 20, 2024
1 parent 6a79999 commit 8d62a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seahub/thumbnail/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def generate_thumbnail(request, repo_id, size, path):

# image thumbnails
if file_size > THUMBNAIL_IMAGE_SIZE_LIMIT * 1024**2:
return (False, 400)shat
return (False, 400)

if fileext.lower() == 'psd':
return create_psd_thumbnails(repo, file_id, path, size,
Expand Down

0 comments on commit 8d62a41

Please sign in to comment.