add default parameter to create app
This commit is contained in:
parent
6fb4a20348
commit
eee5fd095a
@ -11,7 +11,7 @@ from ITPlanning.frontend import frontend
|
|||||||
logger = logging.getLogger("ITPlanning")
|
logger = logging.getLogger("ITPlanning")
|
||||||
|
|
||||||
|
|
||||||
def create_app(config):
|
def create_app(config=None):
|
||||||
"""Flask app creation"""
|
"""Flask app creation"""
|
||||||
app = Flask(__name__, static_folder="static", template_folder="view")
|
app = Flask(__name__, static_folder="static", template_folder="view")
|
||||||
if not config:
|
if not config:
|
||||||
|
Loading…
Reference in New Issue
Block a user