예제 #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
예제 #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
예제 #3
0
파일: __init__.py 프로젝트: kevhill/bt-text
def create_app():

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

    return this_app