mirror of
https://github.com/simon987/od-database.git
synced 2025-04-20 10:56:47 +00:00
Maybe fix last PR
This commit is contained in:
parent
fb6a1821ae
commit
5782a45524
2
app.py
2
app.py
@ -640,7 +640,7 @@ def api_upload():
|
|||||||
|
|
||||||
# Read the file into memory cuz if the request fails
|
# Read the file into memory cuz if the request fails
|
||||||
# no file is corrupted.
|
# no file is corrupted.
|
||||||
buf = file.stream.readall()
|
buf = file.stream.read()
|
||||||
|
|
||||||
# Write to file (create if not exists) when
|
# Write to file (create if not exists) when
|
||||||
# everything read successfully.
|
# everything read successfully.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user