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()
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()