aboutsummaryrefslogtreecommitdiff
path: root/newspipe
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-04-06 23:37:37 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-04-06 23:37:37 +0200
commitbd1e5f3a9dd093110447adfaedb12f93ba3c8b5b (patch)
tree11ad7bfd3f62ba3e2b99e10fa67109b12731f4be /newspipe
parentRemoved useless import. (diff)
downloadnewspipe-bd1e5f3a9dd093110447adfaedb12f93ba3c8b5b.tar.gz
newspipe-bd1e5f3a9dd093110447adfaedb12f93ba3c8b5b.tar.bz2
newspipe-bd1e5f3a9dd093110447adfaedb12f93ba3c8b5b.zip
Fetch the feeds in a new processus by taking into account the current virtual environment.
Diffstat (limited to 'newspipe')
-rwxr-xr-xnewspipe/lib/misc_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py
index 8eb03816..3bd9c6a5 100755
--- a/newspipe/lib/misc_utils.py
+++ b/newspipe/lib/misc_utils.py
@@ -101,8 +101,7 @@ def fetch(id, feed_id=None):
The default crawler ("asyncio") is launched with the manager.
"""
cmd = [
- "poetry", "run",
- "flask",
+ sys.exec_prefix + "/bin/flask",
"fetch_asyncio",
"--user-id", str(id),
]
bgstack15