aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-05-03 18:07:34 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-05-03 18:07:34 +0200
commit6b1a82f07d5cfd98c2b67b802e50ef0f0b309043 (patch)
treea26dc332eeac8dc736fdfa2ebdfc7a923c830864 /conf.py
parentDisplay the ration only for the tab 'All'. (diff)
downloadnewspipe-6b1a82f07d5cfd98c2b67b802e50ef0f0b309043.tar.gz
newspipe-6b1a82f07d5cfd98c2b67b802e50ef0f0b309043.tar.bz2
newspipe-6b1a82f07d5cfd98c2b67b802e50ef0f0b309043.zip
Fixed a bug when sending emails (email of the sender was empty).
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf.py b/conf.py
index e71009bf..696ecf97 100644
--- a/conf.py
+++ b/conf.py
@@ -23,6 +23,7 @@ TIME_ZONE = {
ON_HEROKU = int(os.environ.get('HEROKU', 0)) == 1
DEFAULTS = {"platform_url": "https://pyaggr3g470r.herokuapp.com/",
+ "admin_email": "root@pyAggr3g470r.localhost",
"postmark_api_key": "",
"recaptcha_public_key": "",
"recaptcha_private_key": "",
@@ -36,7 +37,7 @@ DEFAULTS = {"platform_url": "https://pyaggr3g470r.herokuapp.com/",
"http_proxy": "",
"secret": "",
"enabled": "false",
- "email": "",
+ "notification_sender": "pyAggr3g470r@no-reply.com",
"tls": "false",
"ssl": "true",
"host": "0.0.0.0",
@@ -101,7 +102,7 @@ WEBSERVER_HOST = config.get('webserver', 'host')
WEBSERVER_PORT = config.getint('webserver', 'port')
WEBSERVER_SECRET = config.get('webserver', 'secret')
-NOTIFICATION_EMAIL = config.get('notification', 'email')
+NOTIFICATION_EMAIL = config.get('notification', 'notification_sender')
NOTIFICATION_HOST = config.get('notification', 'host')
NOTIFICATION_PORT = config.getint('notification', 'port')
NOTIFICATION_TLS = config.getboolean('notification', 'tls')
bgstack15