Beispiel #1
0
def create_app():

    this_app = Flask(__name__)
    this_app.app_name = "bt_text"

    with open(os.environ.get('BTT_CONFIG'), 'r') as f:
        this_app.json_config = json.load(f)

    return this_app
Beispiel #2
0
def create_app():

    this_app = Flask(__name__)
    this_app.app_name = "bt_text"

    with open(os.environ.get('BTT_CONFIG'), 'r') as f:
        this_app.json_config = json.load(f)

    return this_app
Beispiel #3
0
def create_app():

    this_app = Flask(__name__)
    this_app.app_name = "bt_text"

    return this_app