aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/__init__.py')
-rw-r--r--pyaggr3g470r/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/pyaggr3g470r/__init__.py b/pyaggr3g470r/__init__.py
index a8211217..46498679 100644
--- a/pyaggr3g470r/__init__.py
+++ b/pyaggr3g470r/__init__.py
@@ -27,17 +27,6 @@ def allowed_file(filename):
return '.' in filename and \
filename.rsplit('.', 1)[1] in ALLOWED_EXTENSIONS
-if not conf.ON_HEROKU:
- app.config["MAIL_SERVER"] = conf.MAIL_HOST
- app.config["MAIL_PORT"] = conf.MAIL_PORT
- app.config["MAIL_USE_TLS"] = conf.MAIL_TLS
- app.config["MAIL_USE_SSL"] = conf.MAIL_SSL
- app.config["MAIL_USERNAME"] = conf.MAIL_USERNAME
- app.config["MAIL_PASSWORD"] = conf.MAIL_PASSWORD
-
- from flask.ext.mail import Mail
- mail = Mail(app)
-
# Gravatar
gravatar = Gravatar(app, size=100, rating='g', default='retro',
force_default=False, use_ssl=False, base_url=None)
bgstack15