diff options
Diffstat (limited to 'newspipe/lib/misc_utils.py')
-rwxr-xr-x | newspipe/lib/misc_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/newspipe/lib/misc_utils.py b/newspipe/lib/misc_utils.py index b2438b82..2bb8f1c2 100755 --- a/newspipe/lib/misc_utils.py +++ b/newspipe/lib/misc_utils.py @@ -101,11 +101,12 @@ def fetch(id, feed_id=None): The default crawler ("asyncio") is launched with the manager. """ env = os.environ.copy() - env['FLASK_APP'] = 'runserver.py' + env["FLASK_APP"] = "runserver.py" cmd = [ sys.exec_prefix + "/bin/flask", "fetch_asyncio", - "--user-id", str(id), + "--user-id", + str(id), ] if feed_id: cmd.extend(["--feed-id", str(feed_id)]) |