aboutsummaryrefslogtreecommitdiff
path: root/src/web/lib/misc_utils.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 14:16:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-06 14:16:58 +0200
commit0a7f69cc1fc0e068c66ca34b3f4a44067cfe9761 (patch)
tree5212bc56c32c7f307ae642f877ab01aa70d43230 /src/web/lib/misc_utils.py
parentUpdated CHANGELOG. (diff)
downloadnewspipe-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/misc_utils.py')
-rwxr-xr-xsrc/web/lib/misc_utils.py2
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):
bgstack15