Commit a4e33eee authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #533 from sealemar/master

A proposal to fix https://github.com/mrjoes/flask-admin/issues/532
parents dbff38e5 eddc1e17
......@@ -392,7 +392,7 @@ class ImageUploadField(FileUploadField):
self._save_image(image, self._get_path(filename), format)
else:
data.seek(0)
data.save(path)
data.save( self._get_path(filename) )
self._save_thumbnail(data, filename, format)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment