From a45e61856b9209d0fcc0378ad0e476f77427aedc Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Fri, 9 Jun 2023 20:06:31 +0200 Subject: [PATCH] :bug: fix create_app factory --- app/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 57befa5..23a92ab 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -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