exempt me from the 2000x200 requirement

master
Aevann 2024-04-11 07:53:50 +02:00
parent cd425c7a9d
commit ba05e69d8b
1 changed files with 1 additions and 1 deletions

View File

@ -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)