Merge branch 'fix-notifications-emails' into 'main'
Update notify.py to use dbsession.commit See merge request engineering/remarkbox/remarkbox!14
This commit is contained in:
commit
197a868833
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
|||
from pyramid.paster import bootstrap, setup_logging
|
||||
|
||||
from ..lib.notify import deliver_scheduled_notifications
|
||||
|
||||
from . import base_parser
|
||||
import transaction
|
||||
|
||||
|
||||
def get_arg_parser():
|
||||
|
|
@ -17,3 +16,4 @@ def main():
|
|||
|
||||
with bootstrap(args.config) as env:
|
||||
deliver_scheduled_notifications(env["request"])
|
||||
transaction.commit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue