mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 12:48:25 +00:00
Fixes instance path
This commit is contained in:
parent
d51935244c
commit
9fb3a96a50
@ -20,6 +20,7 @@ if "TESTING" in os.environ and os.environ["TESTING"] == "true":
|
||||
app.config.from_pyfile('testing.py')
|
||||
else:
|
||||
# load the instance/config.py, if it exists, when not testing
|
||||
app.config.root_path = app.instance_path
|
||||
app.config.from_pyfile('config.py', silent=True)
|
||||
|
||||
db = SQLAlchemy(app)
|
||||
|
Loading…
x
Reference in New Issue
Block a user