Skip to content
Snippets Groups Projects
Commit 918140e9 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '536-left-over-code-from-optional-celery' into 'master'

Resolve "Left-over code from optional Celery"

Closes #536

See merge request !773
parents 5261b30c 472eba69
No related branches found
No related tags found
1 merge request!773Resolve "Left-over code from optional Celery"
Pipeline #40159 canceled
......@@ -9,6 +9,11 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Removed
~~~~~~~
* Remove fallback code from optional Celery as it's now non-optional.
`2.1`_ - 2021-11-05
-------------------
......
from importlib import metadata
try:
from .celery import app as celery_app
except ModuleNotFoundError:
# Celery is not available
celery_app = None
from .celery import app as celery_app # noqa
try:
__version__ = metadata.distribution("AlekSIS-Core").version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment