diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-17 00:59:38 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-17 00:59:38 +0200 |
commit | 8eea8efadb3510d74922220bb4bb237bb1c95a52 (patch) | |
tree | a2bf1d44b423dd51514e1ba7666a0761b49b8c62 /conf.py | |
parent | Platform URL is missing for Heroku. (diff) | |
download | newspipe-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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') |