fixed db error

This commit is contained in:
kevroded 2021-01-06 00:46:51 -05:00
parent 3e8f5c46d3
commit 3c93d1e4c8

View File

@ -323,7 +323,7 @@ def add_stats(player_game_stats_list):
def cache_history(Team_1, Team_1_Score, Team_2, Team_2_Score, weather): def cache_history(Team_1, Team_1_Score, Team_2, Team_2_Score, weather):
conn = create_connection() conn = create_connection()
store_string = """ INSERT INTO history(Team_1, Team_1_Score, Team_2, Team_2_Score, Weather) store_string = """ INSERT INTO history(Team_1, Team_1_Score, Team_2, Team_2_Score, Weather)
VALUES (?,?,?,?) """ VALUES (?,?,?,?,?) """
if conn is not None: if conn is not None:
c = conn.cursor() c = conn.cursor()