add default parameter to create app

This commit is contained in:
vincent 2021-06-13 11:43:12 +02:00
parent 6fb4a20348
commit eee5fd095a

View File

@ -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: