summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/main.py b/backend/main.py
index 4758149..cd3144e 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -191,8 +191,9 @@ def reminder_timer_finished(timer_id):
print("timer almost finished", timer_id)
cursor.execute("SELECT * FROM timers WHERE timer_id = ?", (timer_id,))
out = cursor.fetchall()
+ print(out)
- scheduler.add_job(final_timer_finished, 'date', run_date=out[0][RowIndices.END_TIME], id=str(timer_id), args=[timer_id])
+ #scheduler.add_job(final_timer_finished, 'date', run_date=out[0][RowIndices.END_TIME], id=str(timer_id), args=[timer_id])
notif.send_notification(out[0][RowIndices.SUBSCRIPTION_ID])