aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-04-07 00:06:54 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-04-07 00:06:54 +0200
commitb612b1745a38a7c0f5c159e8921d1d0c592f623b (patch)
tree894d302a4b03938798d5075e146ed227ba4377e6
parentadded the FLASK_APP env variable in subprocess.Popen (diff)
downloadnewspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.tar.gz
newspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.tar.bz2
newspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.zip
fix
-rwxr-xr-xnewspipe/lib/misc_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py
index d1e960ae..ea5eb826 100755
--- a/newspipe/lib/misc_utils.py
+++ b/newspipe/lib/misc_utils.py
@@ -109,7 +109,7 @@ def fetch(id, feed_id=None):
]
if feed_id:
cmd.extend(["--feed-id", str(feed_id)])
- return subprocess.Popen(cmd, stdout=subprocess.PIPE)
+ return subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env)
def history(user_id, year=None, month=None):
bgstack15