From eb94792c4e18ac00322ae93b649ad0b3a036128b Mon Sep 17 00:00:00 2001 From: fingadumbledore Date: Sat, 10 Dec 2022 15:23:04 +0100 Subject: [PATCH] stopuhr fix --- main.py | 3 ++- static/js/game.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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; }