diff --git a/get_data_new.py b/get_data_new.py index aaeeb4b..057d4bb 100644 --- a/get_data_new.py +++ b/get_data_new.py @@ -1556,7 +1556,7 @@ def render_loop(stop_event: threading.Event, out_name: str = "game"): Team_Both_Stat(state) Json_Team_Generation(state, who="team1") Json_Team_Generation(state, who="team2") - atomic_write_json(state, out_name["result"]) + atomic_write_json(state["result"], out_name) except Exception as ex: logger.exception(f"[RENDER_THREAD] error while building render state: {ex}")