Skip to content

Commit

Permalink
Attempt to prevent import error on arches install if celery isn't ins…
Browse files Browse the repository at this point in the history
…talled prior to arches. re #5474
  • Loading branch information
chiatt committed Nov 6, 2019
1 parent 86a9779 commit 9186707
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arches/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
from __future__ import absolute_import
from arches.setup import get_version
from .celery import app as celery_app

try:
from .celery import app as celery_app
except ModuleNotFoundError as e:
print(e)

VERSION = (5, 0, 0, 'final', 0)

Expand Down

0 comments on commit 9186707

Please sign in to comment.