Selecting from the correct table helps

This commit is contained in:
Kevin Rode 2021-01-04 02:43:27 -05:00
parent 04f61470fa
commit a89aed6f75

View File

@ -320,7 +320,7 @@ def get_history():
conn = create_connection() conn = create_connection()
if conn is not None: if conn is not None:
c = conn.cursor() c = conn.cursor()
c.execute("SELECT * FROM teams") c.execute("SELECT * FROM history")
history_strings = c.fetchall() history_strings = c.fetchall()
conn.close() conn.close()
return history_strings return history_strings