diff --git a/server/src/data/app.py b/server/src/data/app.py index 81e0d7c..9b5751c 100644 --- a/server/src/data/app.py +++ b/server/src/data/app.py @@ -45,7 +45,7 @@ def get_db_connection(): def mainpage(): conn = get_db_connection() cursor = conn.cursor() - cursor.execute("SELECT name, time, noshutdown FROM items ORDER BY name") + cursor.execute("SELECT name, time, noshutdown, last_connection FROM items ORDER BY name") items = cursor.fetchall() cursor.execute("SELECT default_time FROM val") default_time_row = cursor.fetchone()