diff --git a/visual.py b/visual.py index b167b32..6fad4a6 100644 --- a/visual.py +++ b/visual.py @@ -565,7 +565,7 @@ timeout1 = [] timeout2 = [] if isinstance(cached_game_online, dict): - result = cached_game_online.get("result") or {} + result = cached_game_online plays = result.get("plays") or [] timeout1, timeout2 = [], [] @@ -580,6 +580,7 @@ if isinstance(cached_game_online, dict): t1 = result.get("team1") or {} t2 = result.get("team2") or {} + if t1.get("logo"): col1.image(t1["logo"], width=100) team1_name = t1.get("name") or ""