diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-05-20 11:46:28 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:20 +0100 |
commit | cd639a175eacfcc9e9ce497700fd0f295070f9b0 (patch) | |
tree | 96f6ad26285f13c60dea878cb3fd233ddbfacb74 | |
parent | fe7f30f0eef7bb79fedc8cd821c66baa1b9e6596 (diff) | |
download | Ishtar-cd639a175eacfcc9e9ce497700fd0f295070f9b0.tar.bz2 Ishtar-cd639a175eacfcc9e9ce497700fd0f295070f9b0.zip |
Install: fix celery import on utils
-rwxr-xr-x | install/ishtar-install | 2 | ||||
-rw-r--r-- | ishtar_common/utils.py | 2 |
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 |