From a98b65bad01cbbdcccef7c671fd6fe642ccc4f66 Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 12 Nov 2021 14:04:50 +0100 Subject: [PATCH] Fix requirements, turn task into shared_task for compatibility --- core/tasks/cron.py | 4 ++-- debian-packages.txt | 4 +++- requirements.txt | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/tasks/cron.py b/core/tasks/cron.py index df488da..18152e2 100644 --- a/core/tasks/cron.py +++ b/core/tasks/cron.py @@ -1,10 +1,10 @@ -from celery import shared_task, task +from celery import shared_task import logging logger = logging.getLogger(__name__) -@task(name="cron") +@shared_task(name="cron") def process_crons(): from core.modules.cron import crondefinitions for definition in crondefinitions: diff --git a/debian-packages.txt b/debian-packages.txt index 7c39045..1cc547a 100644 --- a/debian-packages.txt +++ b/debian-packages.txt @@ -1,3 +1,5 @@ rabbitmq-server memcached -git \ No newline at end of file +git +build-essential +libmariadb-dev diff --git a/requirements.txt b/requirements.txt index 4167bf4..a380a06 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,3 +21,4 @@ GitPython python-dateutil bindglobal pyotp +pyqrcode