fixed (#1268)
This commit is contained in:
+2
-2
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user