summaryrefslogtreecommitdiff
path: root/backend/main.py
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-02 18:13:44 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-02 18:13:44 +0700
commitdf5d3b1222c34a107d8322fc4fcf2d6405848be6 (patch)
tree368b7dfaa40da5679e1d891d78af85485354ac0a /backend/main.py
parentdd70b6dfb2dd0627392dbea06b1fcbba9c6cc24c (diff)
oops
Diffstat (limited to 'backend/main.py')
-rw-r--r--backend/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/main.py b/backend/main.py
index 57ae981..ece8e1f 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -189,7 +189,7 @@ def reminder_timer_finished(timer_id):
cursor.execute(f"SELECT * FROM timers WHERE timer_id = '{timer_id}'")
out = cursor.fetchall()
- scheduler.add_job(final_timer_finished, 'date', run_date=out[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])
notification = Notification(app_id=ONESIGNAL_APP_ID, included_segments=['All'], contents={'en': 'get ready to get your bloody laundry'}, headings={'en': 'laundry almost finished'})