added default config file to create_app func

This commit is contained in:
Kyle Mahan 2015-04-17 09:30:41 -07:00
parent caf470733e
commit 22dc633071

View file

@ -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: