update mailer, add tests

This commit is contained in:
dandds
2018-10-11 10:59:07 -04:00
parent 18bb5b24fd
commit 0d9f1cd7e0
3 changed files with 57 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ def map_config(config):
return {
**config["default"],
"ENV": config["default"]["ENVIRONMENT"],
"DEBUG": config["default"]["DEBUG"],
"DEBUG": config["default"].getboolean("DEBUG"),
"PORT": int(config["default"]["PORT"]),
"SQLALCHEMY_DATABASE_URI": config["default"]["DATABASE_URI"],
"SQLALCHEMY_TRACK_MODIFICATIONS": False,