aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-21 21:46:58 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-01-21 21:46:58 +0100
commitb1e4f338797d2168eb8c9e25a81eeae504d8bcae (patch)
tree7fc8baad50459cb74da3c06760c51262232e2721 /pyaggr3g470r
parentMisc fixes to the crawler. (diff)
downloadnewspipe-b1e4f338797d2168eb8c9e25a81eeae504d8bcae.tar.gz
newspipe-b1e4f338797d2168eb8c9e25a81eeae504d8bcae.tar.bz2
newspipe-b1e4f338797d2168eb8c9e25a81eeae504d8bcae.zip
Set the version of Python used by the crawler in the configuration file.
Diffstat (limited to 'pyaggr3g470r')
-rwxr-xr-xpyaggr3g470r/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/utils.py b/pyaggr3g470r/utils.py
index d815d02b..1a3f55ff 100755
--- a/pyaggr3g470r/utils.py
+++ b/pyaggr3g470r/utils.py
@@ -79,7 +79,7 @@ def opened_w_error(filename, mode="r"):
f.close()
def fetch(id, feed_id=None):
- cmd = ['python', conf.basedir+'/fetch.py', str(id), str(feed_id)]
+ cmd = [conf.PYTHON, conf.basedir+'/fetch.py', str(id), str(feed_id)]
p = subprocess.Popen(cmd, stdout=subprocess.PIPE)
def import_opml(email, opml_content):
bgstack15