Update notify.py
This commit is contained in:
parent
c9c98950c3
commit
cebf17caaa
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue