From 0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 6 Oct 2016 14:16:58 +0200 Subject: Fetch feeds only if the user do not want to use its own crawler. --- src/web/lib/misc_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/lib') diff --git a/src/web/lib/misc_utils.py b/src/web/lib/misc_utils.py index fc49dd6d..8166df29 100755 --- a/src/web/lib/misc_utils.py +++ b/src/web/lib/misc_utils.py @@ -108,7 +108,7 @@ def fetch(id, feed_id=None): The "asyncio" crawler is launched with the manager. """ cmd = [sys.executable, conf.BASE_DIR + '/manager.py', 'fetch_asyncio', - str(id), str(feed_id)] + '--user_id='+str(id)] return subprocess.Popen(cmd, stdout=subprocess.PIPE) def history(user_id, year=None, month=None): -- cgit