Commit 8625e425 authored by delanoe's avatar delanoe

[FIX] Celery ok

parent a9b8f54e
...@@ -101,7 +101,7 @@ class Crawler: ...@@ -101,7 +101,7 @@ class Crawler:
) )
session.add(corpus) session.add(corpus)
session.commit() session.commit()
scheduled(parse_extract_indexhyperdata(corpus.id)) scheduled(parse_extract_indexhyperdata)(corpus.id)
else: else:
#add the resource #add the resource
corpus.add_resource( corpus.add_resource(
......
from .main import parse_extract_indexhyperdata from .main import parse_extract_indexhyperdata
from .main import parse_extract
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