Merge pull request #28 from dod-ccpo/fix-autoreload

Fix debug kwarg so that tornado server will autoreload properly
This commit is contained in:
richard-dds 2018-06-12 16:51:35 -04:00 committed by GitHub
commit 755c23e7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ def make_app(config):
],
template_path = home.child('templates'),
static_path = home.child('static'),
DEBUG=config['default']['DEBUG']
debug=config['default'].getboolean('DEBUG')
)
return app