Removed accidental raise in propic

This commit is contained in:
Ed 2023-01-08 11:46:04 +01:00
parent 15af64eb3b
commit 954a12e414
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ async def upload_propic(request, order: Order):
img.thumbnail((512,512))
img.save(f"res/propic/{fn}_{order.code}_{h}.jpg")
except:
raise
raise exceptions.BadRequest("The image you uploaded is not valid.")
else:
await order.edit_answer(fn, f"{fn}_{order.code}_{h}.jpg")