Переделал докерфайл
This commit is contained in:
parent
472a866f0d
commit
41566ed1a8
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ 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