From eee5fd095aeae66f81e3109457115f354898f7a9 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 13 Jun 2021 11:43:12 +0200 Subject: [PATCH] add default parameter to create app --- ITPlanning/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ITPlanning/app.py b/ITPlanning/app.py index 9327e3c..62fe9bd 100644 --- a/ITPlanning/app.py +++ b/ITPlanning/app.py @@ -11,7 +11,7 @@ from ITPlanning.frontend import frontend logger = logging.getLogger("ITPlanning") -def create_app(config): +def create_app(config=None): """Flask app creation""" app = Flask(__name__, static_folder="static", template_folder="view") if not config: