forked from rDrama/rDrama
fdfd
parent
85f7a8283b
commit
c104884112
|
@ -34,7 +34,6 @@ def upload_file(file, resize=None):
|
|||
|
||||
if resize:
|
||||
filename = "image.gif"
|
||||
remove(filename)
|
||||
file.save(filename)
|
||||
i = IImage.open(filename)
|
||||
i = crop_and_resize(i, resize)
|
||||
|
|
Loading…
Reference in New Issue