From ff7f6f1777d0a0f45a8b921858a833337eea293b Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Mon, 5 Feb 2018 19:19:00 +0100
Subject: [PATCH] Fix celery task syntax

---
 tasks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tasks.py b/tasks.py
index 080c839..f757c0a 100644
--- a/tasks.py
+++ b/tasks.py
@@ -515,7 +515,7 @@ def push_to_wiki_async(protocol_id, content, infobox_content, summary):
 def push_to_dokuwiki(protocol, content, summary):
     push_to_dokuwiki_async.delay(protocol.id, content, summary)
 
-@celery_task
+@celery.task
 def push_to_dokuwiki_async(protocol_id, content, summary):
     protocol = Protocol.query.filter_by(id=protocol_id).first()
     with xmlrpc.client.ServerProxy(config.WIKI_API_URL) as proxy:
-- 
GitLab