diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-29 23:48:11 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-29 23:48:11 +0800 |
| commit | 89043bec163f64d8ed501eaa7c07795cc7ff93c9 (patch) | |
| tree | 1939efe76fa6c82f60277fb706c90543ded7e6d4 /backend/main.py | |
| parent | 1af481f977cb56ce44179b8df479a42095dcb3c2 (diff) | |
uhhhhhhhh
Diffstat (limited to 'backend/main.py')
| -rw-r--r-- | backend/main.py | 3 |
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]) |
