aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnewspipe/lib/misc_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py
index 3bd9c6a5..d1e960ae 100755
--- a/newspipe/lib/misc_utils.py
+++ b/newspipe/lib/misc_utils.py
@@ -100,6 +100,8 @@ def fetch(id, feed_id=None):
Fetch the feeds in a new processus.
The default crawler ("asyncio") is launched with the manager.
"""
+ env = os.environ.copy()
+ env['FLASK_APP'] = 'runserver.py'
cmd = [
sys.exec_prefix + "/bin/flask",
"fetch_asyncio",
bgstack15