aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-14 09:29:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-14 09:29:58 +0200
commit6f11b006408739a5f19270e3aa499de4af405354 (patch)
treeddbf5fadb113f207e22e847223c8373607e6c353 /conf.py
parentMerged in jaesivsm/pyaggr3g470r (pull request #9) (diff)
downloadnewspipe-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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 5031009c..03ff23a2 100644
--- a/conf.py
+++ b/conf.py
@@ -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'
bgstack15