This commit is contained in:
Aevann1 2022-01-22 20:51:33 +02:00
parent cbaaaf8ece
commit 2b5adb3e81
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,7 @@ def process_image(file=None, filename=None, resize=0):
file.save(filename)
i = IImage.open(file)
else: i = IImage.open(filename)
except: abort(400)
except: return ""
if resize:
size = resize, resize