This commit is contained in:
NotSoToothless
2026-05-24 19:47:37 -07:00
committed by GitHub
parent 9c6ca3bcd7
commit c4693e498c
+2 -2
View File
@@ -453,7 +453,7 @@ async def process_ws_replays(replays: list[dict]):
# Skip if already processed
replay_dir = replay_session_dir(hex_id)
if (replay_dir / "replay_data.json").exists():
if replay_data_path(hex_id).exists():
continue
# Validate in-memory (fail fast - don't write invalid data to disk)
@@ -1308,7 +1308,7 @@ async def handle_view_video(interaction: discord.Interaction, session_id: str):
_lang = lang_from_features(_gf)
replay_dir = replay_session_dir(session_id)
replay_json_path = replay_dir / "replay_data.json"
replay_json_path = replay_data_path(session_id)
video_path = replay_dir / "replay_video.mp4"
if not replay_json_path.exists():