Maybe fix last PR

This commit is contained in:
Simon 2018-11-18 12:27:20 -05:00
parent fb6a1821ae
commit 5782a45524

2
app.py
View File

@ -640,7 +640,7 @@ def api_upload():
# Read the file into memory cuz if the request fails
# no file is corrupted.
buf = file.stream.readall()
buf = file.stream.read()
# Write to file (create if not exists) when
# everything read successfully.