diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-04-07 00:06:54 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-04-07 00:06:54 +0200 |
commit | b612b1745a38a7c0f5c159e8921d1d0c592f623b (patch) | |
tree | 894d302a4b03938798d5075e146ed227ba4377e6 | |
parent | added the FLASK_APP env variable in subprocess.Popen (diff) | |
download | newspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.tar.gz newspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.tar.bz2 newspipe-b612b1745a38a7c0f5c159e8921d1d0c592f623b.zip |
fix
-rwxr-xr-x | newspipe/lib/misc_utils.py | 2 |
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): |