fixed some docstring typos and added an ENV value

pull/39/head
Chris Veilleux 2019-01-30 23:14:35 -06:00
parent c54590895c
commit a47c67798a
1 changed files with 3 additions and 3 deletions

View File

@ -13,10 +13,9 @@ Example usage:
.
.
.
@app.teardown_teardown_appcontext
@app.teardown_appcontext
def close_db_connections():
app.config['DB_CONNECTION_POOL].close_all()
app.config['DB_CONNECTION_POOL'].close_all()
"""
import os
@ -41,6 +40,7 @@ class BaseConfig(object):
ACCESS_SECRET = os.environ['JWT_ACCESS_SECRET']
DB_CONNECTION_POOL = allocate_db_connection_pool(db_connection_config)
DEBUG = False
ENV = os.environ['SELENE_ENVIRONMENT']
REFRESH_SECRET = os.environ['JWT_REFRESH_SECRET']