From a89aed6f757dd79714a3e67fc5cee0fb18b733aa Mon Sep 17 00:00:00 2001 From: Kevin Rode Date: Mon, 4 Jan 2021 02:43:27 -0500 Subject: [PATCH] Selecting from the correct table helps --- database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database.py b/database.py index b26f44a..e032598 100644 --- a/database.py +++ b/database.py @@ -320,7 +320,7 @@ def get_history(): conn = create_connection() if conn is not None: c = conn.cursor() - c.execute("SELECT * FROM teams") + c.execute("SELECT * FROM history") history_strings = c.fetchall() conn.close() return history_strings