!= instead of >

pull/225/head
Aevann 2024-03-09 13:51:51 +02:00
parent 8dd3f7736d
commit 036852b572
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ def submit_hat(v):
process_image(highquality, v) #to ensure not malware
with Image.open(highquality) as i:
if i.width > 100 or i.height > 130:
if i.width != 100 or i.height != 130:
os.remove(highquality)
abort(400, "Images must be 100x130")