diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-14 09:29:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-14 09:29:58 +0200 |
commit | 6f11b006408739a5f19270e3aa499de4af405354 (patch) | |
tree | ddbf5fadb113f207e22e847223c8373607e6c353 /conf.py | |
parent | Merged in jaesivsm/pyaggr3g470r (pull request #9) (diff) | |
download | newspipe-6f11b006408739a5f19270e3aa499de4af405354.tar.gz newspipe-6f11b006408739a5f19270e3aa499de4af405354.tar.bz2 newspipe-6f11b006408739a5f19270e3aa499de4af405354.zip |
'CRAWLING_METHOD wasn't initialized on Heroku.
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -105,6 +105,7 @@ else: "(X11; Debian; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0" RESOLVE_ARTICLE_URL = int(os.environ.get('RESOLVE_ARTICLE_URL', 0)) == 1 DEFAULT_MAX_ERROR = int(os.environ.get('DEFAULT_MAX_ERROR', 6)) + CRAWLING_METHOD = os.environ.get('CRAWLING_METHOD', DEFAULTS['crawling_method']) WEBSERVER_DEBUG = False WEBSERVER_HOST = '0.0.0.0' |