diff --git a/main_controller.py b/main_controller.py index 9f410ee..19c031e 100644 --- a/main_controller.py +++ b/main_controller.py @@ -133,7 +133,7 @@ def update_loop(): state["update_pause"] = 2 if state["end_delay"] < 0: db.cache_history(this_game.teams['home'].name, this_game.teams["home"].score, this_game.teams['away'].name, this_game.teams['away'].score, this_game.weather.name) - master_games_dic.pop(game_time) + master_games_dic.pop(game_id) else: state["end_delay"] -= 1 master_games_dic[game_id][1]["end_delay"] -= 1 diff --git a/matteo_bak.db b/matteo_bak.db new file mode 100644 index 0000000..d7a71cd Binary files /dev/null and b/matteo_bak.db differ