From ba05e69d8b51c6cec1aeb77f81ce732795df995a Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 11 Apr 2024 07:53:50 +0200 Subject: [PATCH] exempt me from the 2000x200 requirement --- files/routes/art_submissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/art_submissions.py b/files/routes/art_submissions.py index 278c49616..2ea11286e 100644 --- a/files/routes/art_submissions.py +++ b/files/routes/art_submissions.py @@ -67,7 +67,7 @@ def submit_art_post(v): file.save(highquality) process_image(highquality, v) #to ensure not malware - if kind == "banner": + if kind == "banner" and v.id != AEVANN_ID: with Image.open(highquality) as i: if i.width != 2000 or i.height != 200: os.remove(highquality)