Update notify.py

This commit is contained in:
Groupr 2025-06-07 16:07:44 +00:00
parent cebf17caaa
commit 266189ce9b

View file

@ -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)