diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 14:16:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 14:16:58 +0200 |
commit | 0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761 (patch) | |
tree | 5212bc56c32c7f307ae642f877ab01aa70d43230 /src/web/lib | |
parent | Updated CHANGELOG. (diff) | |
download | newspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.tar.gz newspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.tar.bz2 newspipe-0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761.zip |
Fetch feeds only if the user do not want to use its own crawler.
Diffstat (limited to 'src/web/lib')
-rwxr-xr-x | src/web/lib/misc_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |