aboutsummaryrefslogtreecommitdiff
path: root/src/web/utils.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-10-11 23:34:33 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:46:31 +0100
commit5f66e6465d3822b150898de2a7fb8df39ed7fdc6 (patch)
tree394948060f5cff75de651b65b2a6509608c8ac60 /src/web/utils.py
parenta bit of cleaning, putting code where it belongs (diff)
downloadnewspipe-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-xsrc/web/utils.py2
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):
"""
bgstack15