mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2026-04-26 22:12:28 +02:00
fix: upload correct filepath
This commit is contained in:
@@ -551,7 +551,7 @@ def upload():
|
|||||||
replay.filepath = fullpath
|
replay.filepath = fullpath
|
||||||
|
|
||||||
if s3_enabled():
|
if s3_enabled():
|
||||||
s3_key = upload_to_s3(new_basename, replay)
|
s3_key = upload_to_s3(fullpath, replay)
|
||||||
os.remove(fullpath)
|
os.remove(fullpath)
|
||||||
|
|
||||||
db.session.add(replay)
|
db.session.add(replay)
|
||||||
|
|||||||
Reference in New Issue
Block a user