added default config file to create_app func
This commit is contained in:
parent
caf470733e
commit
22dc633071
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ from .push import push
|
|||
import flask
|
||||
|
||||
|
||||
def create_app(config_path):
|
||||
def create_app(config_path='../woodwind.cfg'):
|
||||
app = flask.Flask('woodwind')
|
||||
app.config.from_pyfile(config_path)
|
||||
if not app.debug:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue