From 0851e95fb26b2032ac104b89ecb97a0dc02292f7 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 11 Sep 2023 12:17:08 +0800 Subject: [PATCH] Update common.py --- class/core/common.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/class/core/common.py b/class/core/common.py index d4db9d980..990793712 100755 --- a/class/core/common.py +++ b/class/core/common.py @@ -151,10 +151,8 @@ def initSystemControl(): if os.path.exists(path): return False - import system_api - sapi = system_api.system_api() - r = sapi.setControl(1, 30) - print(r) + data_ctl = 'data/control.conf' + mw.writeFile(data_ctl, 30) def initUserInfo():