Skip to content
Snippets Groups Projects
Verified Commit acab0b13 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove fallback code from non-optional Celery

parent 5261b30c
No related branches found
No related tags found
1 merge request!773Resolve "Left-over code from optional Celery"
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
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