mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update common.py
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user