diff --git a/data.db b/data.db index 8642242..f1b57cf 100644 Binary files a/data.db and b/data.db differ diff --git a/database.py b/database.py index b2dc71b..30867c2 100644 --- a/database.py +++ b/database.py @@ -61,4 +61,5 @@ def get_all_hours(): def delete_all_rows(): - cur.executemany("DELETE * FROM TIMESTAMPS;") \ No newline at end of file + cur.execute("DELETE FROM TIMESTAMPS") + con.commit() \ No newline at end of file diff --git a/user_input.py b/user_input.py index 697066e..15488d8 100644 --- a/user_input.py +++ b/user_input.py @@ -158,7 +158,7 @@ def parse_input(): pass elif response == 4: pass - elif response == 871: + elif response == 90909: __admin__() else: print("Please provide a valid selection.")