From 0373c928fb20be6bebde7ab55ba0953a70d0adde Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 20 May 2020 11:46:28 +0200 Subject: Install: fix celery import on utils --- ishtar_common/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/utils.py') diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py index f18544ea9..41a844026 100644 --- a/ishtar_common/utils.py +++ b/ishtar_common/utils.py @@ -93,7 +93,7 @@ if settings.USE_BACKGROUND_TASK: try: from celery import shared_task task = shared_task - except ImportError: + except ModuleNotFoundError: pass -- cgit v1.2.3