def create_app(self): app = Flask(__name__, template_folder='./../app/templates') init(app, UTConfig) return app
from flask import Flask from app.app_init import init from config import Config app = Flask(__name__, template_folder="./templates", static_folder="./../static") init(app, Config)