fix: upload correct filepath

This commit is contained in:
2026-03-12 19:09:08 +01:00
parent e55a8b64c4
commit 3b7c10b416

View File

@@ -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)