aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-17 00:59:38 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-17 00:59:38 +0200
commit8eea8efadb3510d74922220bb4bb237bb1c95a52 (patch)
treea2bf1d44b423dd51514e1ba7666a0761b49b8c62 /conf.py
parentPlatform URL is missing for Heroku. (diff)
downloadnewspipe-8eea8efadb3510d74922220bb4bb237bb1c95a52.tar.gz
newspipe-8eea8efadb3510d74922220bb4bb237bb1c95a52.tar.bz2
newspipe-8eea8efadb3510d74922220bb4bb237bb1c95a52.zip
Platform URL is missing for Heroku.
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index bc54943e..91b36b6e 100644
--- a/conf.py
+++ b/conf.py
@@ -24,6 +24,7 @@ TIME_ZONE = {
ON_HEROKU = int(os.environ.get('HEROKU', 0)) == 1
DEFAULTS = {"python": "/usr/bin/python3.4",
"platform_url": "https://pyaggr3g470r.herokuapp.com/",
+ "postmark_api_key": "",
"recaptcha_public_key": "",
"recaptcha_private_key": "",
"nb_worker": "100",
@@ -109,7 +110,7 @@ NOTIFICATION_TLS = config.getboolean('notification', 'tls')
NOTIFICATION_SSL = config.getboolean('notification', 'ssl')
NOTIFICATION_USERNAME = config.get('notification', 'username')
NOTIFICATION_PASSWORD = config.get('notification', 'password')
-POSTMARK_API_KEY = os.environ.get('POSTMARK_API_KEY', '')
+POSTMARK_API_KEY = config.get('postmark_api_key', '')
WEBZINE_ROOT = config.get('webserver', 'webzine_root')
bgstack15