vcxxvc
This commit is contained in:
parent
cbaaaf8ece
commit
2b5adb3e81
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue