diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-01-21 21:46:58 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-01-21 21:46:58 +0100 |
commit | b1e4f338797d2168eb8c9e25a81eeae504d8bcae (patch) | |
tree | 7fc8baad50459cb74da3c06760c51262232e2721 /conf.py | |
parent | Misc fixes to the crawler. (diff) | |
download | newspipe-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 'conf.py')
-rw-r--r-- | conf.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,6 +38,7 @@ if not ON_HEROKU: RECAPTCHA_PUBLIC_KEY = config.get('misc', 'recaptcha_public_key') RECAPTCHA_PRIVATE_KEY = config.get('misc', 'recaptcha_private_key') LOG_PATH = config.get('misc', 'log_path') + PYTHON = config.get('misc', 'python') WHOOSH_ENABLED = True @@ -69,6 +70,7 @@ else: RECAPTCHA_PUBLIC_KEY = os.environ.get('RECAPTCHA_PUBLIC_KEY', '') RECAPTCHA_PRIVATE_KEY = os.environ.get('RECAPTCHA_PRIVATE_KEY', '') LOG_PATH = os.environ.get('LOG_PATH', 'pyaggr3g470r.log') + PYTHON = os.environ.get('PYTHON', 'python3.3') SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL'] |