🐛 fix create_app factory
All checks were successful
Python formatting PEP8 / Pyhton-PEP8 (push) Successful in 16s
CSS Linter / CSS-Lint (push) Successful in 32s
Javascript Linter / Javascript-Lint (push) Successful in 12s

This commit is contained in:
Finn Christiansen 2023-06-09 20:06:31 +02:00
parent f7ede63681
commit a45e61856b

View file

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