Commit 42bfb16b authored by Administrator's avatar Administrator

[FIX] async for debug only.

parent 6f3f4209
...@@ -147,7 +147,7 @@ def project(request, project_id): ...@@ -147,7 +147,7 @@ def project(request, project_id):
) )
# let's start the workflow # let's start the workflow
try: try:
if DEBUG is True: if DEBUG is False:
apply_workflow.apply_async((corpus.id,),) apply_workflow.apply_async((corpus.id,),)
else: else:
#apply_workflow(corpus) #apply_workflow(corpus)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment