summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall/ishtar-install2
-rw-r--r--ishtar_common/utils.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/install/ishtar-install b/install/ishtar-install
index 208ac29f0..291ebff16 100755
--- a/install/ishtar-install
+++ b/install/ishtar-install
@@ -421,8 +421,6 @@ EOF
python3-unidecode \
python3-xmltodict \
python3-django-simple-history \
- python3-secretary \
- python3-weasyprint \
python3-django \
python3-ajax-select \
python3-djangorestframework \
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