diff --git a/tasks.py b/tasks.py
index 080c839deef08c2be62a78cb5ce1156d8d217ba3..f757c0a39638731b7bff71c094a8d66127881814 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: