Files
notifications-api/run_celery.py
Martyn Inglis 27d48a9746 Pass application name in from start scripts
- allows logger to log as correct application
2016-03-16 13:25:09 +00:00

6 lines
135 B
Python

#!/usr/bin/env python
from app import notify_celery, create_app
application = create_app('delivery')
application.app_context().push()