summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 16:12:58 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 16:12:58 +0700
commit6ac349ab46ccf780fbff8d382887ed36ca4420ce (patch)
tree38625e6d7654a0631b9a81cf11302a0cfadd6631
parent988db9361ca86765dc1645bcdcb77466cfd0e8e0 (diff)
sql ,
-rw-r--r--backend/__pycache__/main.cpython-314.pycbin18547 -> 22196 bytes
-rw-r--r--backend/main.py7
2 files changed, 3 insertions, 4 deletions
diff --git a/backend/__pycache__/main.cpython-314.pyc b/backend/__pycache__/main.cpython-314.pyc
index b53b159..088aec4 100644
--- a/backend/__pycache__/main.cpython-314.pyc
+++ b/backend/__pycache__/main.cpython-314.pyc
Binary files differ
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():