🐛 fix create_app factory
This commit is contained in:
parent
f7ede63681
commit
a45e61856b
1 changed files with 1 additions and 3 deletions
|
@ -1,10 +1,8 @@
|
|||
from flask import Flask
|
||||
from config import config
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
def create_app(config_name):
|
||||
def create_app(config_name='development'):
|
||||
app = Flask(__name__)
|
||||
from .index import index_blueprint
|
||||
from .color import color_blueprint
|
||||
|
|
Loading…
Reference in a new issue