Selecting from the correct table helps
This commit is contained in:
parent
04f61470fa
commit
a89aed6f75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user