From f8b5480cfabede60b967bb57aa0f4cd3f0513b1d Mon Sep 17 00:00:00 2001 From: kevroded Date: Wed, 6 Jan 2021 00:19:31 -0500 Subject: [PATCH] debug removed weather info should be getting saved to the DB --- main_controller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main_controller.py b/main_controller.py index 4fef669..6f7a3a7 100644 --- a/main_controller.py +++ b/main_controller.py @@ -64,8 +64,7 @@ def update_loop(): if state["update_pause"] == 1: state["update_emoji"] = "🍿" if this_game.over: - print(this_game.weather.name) - #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_text) + 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) state["display_inning"] -= 1 state["display_top_of_inning"] = False winning_team = this_game.teams['home'].name if this_game.teams['home'].score > this_game.teams['away'].score else this_game.teams['away'].name