summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 17:07:15 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 17:07:15 +0700
commitf37e309335f712587db441ab4ce3b4509efcf9c9 (patch)
tree612426eb3c00baf911b48aba25f35e43909e6cc8 /backend
parentb4db8e15de64d420d617e333323ebcc863c10742 (diff)
debug + placeholder
Diffstat (limited to 'backend')
-rw-r--r--backend/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/main.py b/backend/main.py
index 22556d1..4544e82 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -165,10 +165,13 @@ def restart_terminated_schedules():
print(row[0])
scheduler.add_job(reminder_timer_finished, 'date', run_date=end_date, id=str(row[0]), args=[row[0]])
+ print("setting internal array information")
machine_status[row[4] - 1][row[5] - 1] = Status.RUNNING.name
machine_times[row[4] - 1][row[5] - 1] = row[2]
machine_durations[row[4] - 1][row[5] - 1] = row[3]
+ print(machine_status, machine_times, machine_durations)
+
def reminder_timer_finished(timer_id):
print("timer almost finished", timer_id)