From 954a12e4142f4c585c77e821165b6036b379591a Mon Sep 17 00:00:00 2001 From: Ed Date: Sun, 8 Jan 2023 11:46:04 +0100 Subject: [PATCH] Removed accidental raise in propic --- propic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/propic.py b/propic.py index 79f082f..0802f39 100644 --- a/propic.py +++ b/propic.py @@ -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")