diff --git a/visual.py b/visual.py index 52913b6..7641734 100644 --- a/visual.py +++ b/visual.py @@ -427,6 +427,7 @@ prefix = _ipcheck() load_data_from_json("game") cached_game_online = st.session_state.get("game") +cached_game_online = cached_game_online["result"] load_data_from_json("team1") cached_team1 = st.session_state.get("team1") @@ -443,6 +444,7 @@ if isinstance(cached_game_online, dict): league_tag = (cached_game_online.get("league") or {}).get( "tag" ) + print(cached_game_online.get("comp").get("name")) comp_name = ( (cached_game_online.get("comp") or {}) .get("name")