mirror of
https://github.com/zulip/zulip.git
synced 2025-10-27 18:13:58 +00:00
uploads: Split out S3 and local file backends into separate files.
The uploads file is large, and conceptually the S3 and local-file backends are separable.
This commit is contained in:
committed by
Alex Vandiver
parent
497abc2e48
commit
7c0d414aff
@@ -21,7 +21,7 @@ from PIL import Image
|
||||
|
||||
from zerver.lib.integrations import INTEGRATIONS
|
||||
from zerver.lib.storage import static_path
|
||||
from zerver.lib.upload import DEFAULT_AVATAR_SIZE, resize_avatar
|
||||
from zerver.lib.upload.base import DEFAULT_AVATAR_SIZE, resize_avatar
|
||||
|
||||
|
||||
def create_square_image(png: bytes) -> bytes:
|
||||
|
||||
Reference in New Issue
Block a user