예제 #1
0
파일: __init__.py 프로젝트: zwgirl/w5
def init_w5(app):
    with open(app.config['apps_path'] + '/version.txt', 'r') as f:
        apps_version = f.read()
        from core.view.system.view import update_version, init_key, init_timer
        update_version(w5_version=version, apps_version=apps_version)
        init_key()
        init_timer()
예제 #2
0
파일: __init__.py 프로젝트: zcx2077/w5
def init_w5(app):
    from core.view.system.view import update_version, init_key, init_timer
    update_version(w5_version=version)
    init_key()
    init_timer()