Переделал докерфайл
This commit is contained in:
parent
d4a7002a5f
commit
472a866f0d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ async def upload_avatar(file: UploadFile):
|
||||||
new_size = (512, 512)
|
new_size = (512, 512)
|
||||||
image_url = f"static/images/avatars/{name}_avatar.{image.format.lower()}"
|
image_url = f"static/images/avatars/{name}_avatar.{image.format.lower()}"
|
||||||
if image.format.lower() == "gif":
|
if image.format.lower() == "gif":
|
||||||
|
raise
|
||||||
frames = []
|
frames = []
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Add table
Reference in a new issue