summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/main.py b/backend/main.py
index da914df..9b4ac1c 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -53,9 +53,8 @@ CREATE TABLE IF NOT EXISTS timers (
block INT NOT NULL,
machine INT NOT NULL,
status TEXT NOT NULL CHECK(status IN ('RUNNING', 'FINISHED')),
- subscription_id TEXT NOT NULL,
-);
- """) # block is either 1 or 2, machine (1-4), odd is dryer, even is machine.
+ subscription_id TEXT NOT NULL
+);""") # block is either 1 or 2, machine (1-4), odd is dryer, even is machine.
# ## yaml configuration initialisation
@@ -70,7 +69,7 @@ yaml_dict = yaml.load(stream, yaml.Loader)
for k, v in yaml_dict["qr_uri"]["h1"].items():
qr_uri[v] = f"h1-{k}"
for k, v in yaml_dict["qr_uri"]["h2"].items():
- qr_uri[v] = f"h1-{k}"
+ qr_uri[v] = f"h2-{k}"
print("config.yaml loaded, qr_uri:")
for k, v in qr_uri.items():