diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-10-11 23:34:33 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-26 23:46:31 +0100 |
commit | 5f66e6465d3822b150898de2a7fb8df39ed7fdc6 (patch) | |
tree | 394948060f5cff75de651b65b2a6509608c8ac60 /src/web/utils.py | |
parent | a bit of cleaning, putting code where it belongs (diff) | |
download | newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.tar.gz newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.tar.bz2 newspipe-5f66e6465d3822b150898de2a7fb8df39ed7fdc6.zip |
removing misplaced stuffs from views, more controllers use
Diffstat (limited to 'src/web/utils.py')
-rwxr-xr-x | src/web/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/utils.py b/src/web/utils.py index 38d15f25..6182eb0e 100755 --- a/src/web/utils.py +++ b/src/web/utils.py @@ -112,7 +112,7 @@ def fetch(id, feed_id=None): """ cmd = [sys.executable, conf.BASE_DIR+'/manager.py', 'fetch_asyncio', str(id), str(feed_id)] - p = subprocess.Popen(cmd, stdout=subprocess.PIPE) + return subprocess.Popen(cmd, stdout=subprocess.PIPE) def history(user_id, year=None, month=None): """ |