diff --git a/main.py b/main.py index 2c05ddd..dcea394 100644 --- a/main.py +++ b/main.py @@ -210,7 +210,8 @@ def session(id): cur = con.cursor() l = f"SELECT eventzeit FROM planer WHERE sessionID = \'{id}\' ORDER BY eventzeit;" eventzeit = cur.execute(l).fetchall() - #eventtime = re.split(",", eventzeit) + print (eventzeit) + #eventtime = re.split(',', eventzeit) con.commit() cur.close() diff --git a/static/js/game.js b/static/js/game.js index 9b913df..af729ed 100644 --- a/static/js/game.js +++ b/static/js/game.js @@ -37,4 +37,5 @@ stop.onclick = function() { reset.onclick = function() { h1.textContent = "00:00:00"; seconds = 0; minutes = 0; hours = 0; + sec = 0; min = 0; hrs = 0; }