Waitlist deployment uses requirements/waitlist.txt which does not include celery. Making the import conditional allows the app to start without celery installed. Co-Authored-By: Paperclip <noreply@paperclip.ing>
8 lines
108 B
Python
8 lines
108 B
Python
try:
|
|
from .celery import app as celery_app
|
|
|
|
__all__ = ("celery_app",)
|
|
except ImportError:
|
|
pass
|
|
|