aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
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