From 266189ce9ba4d9151342b266836fd83bc7305df3 Mon Sep 17 00:00:00 2001 From: Groupr Date: Sat, 7 Jun 2025 16:07:44 +0000 Subject: [PATCH] Update notify.py --- remarkbox/lib/notify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/remarkbox/lib/notify.py b/remarkbox/lib/notify.py index d292d89..0685be6 100644 --- a/remarkbox/lib/notify.py +++ b/remarkbox/lib/notify.py @@ -166,8 +166,7 @@ def deliver_scheduled_notifications(request=None): if datetime.today().weekday() == 0: notification_dict = get_email_notifications(request.dbsession, "weekly") send_digest_notifications(request, notification_dict, "weekly") - - tm.commit() + def send_immediate_notifications(request, notifications): deliver_email_notifications = request.app.get("deliver_email_notifications", True)