Update tools.py

This commit is contained in:
midoks
2023-01-27 16:04:54 +08:00
parent f7360aa081
commit dd21d25295
+1
View File
@@ -93,6 +93,7 @@ def mwcli(mw_input=0):
in_port, 'WEB面板[TOOLS修改]', 'port')
mw.writeFile('data/port.pl', in_port)
os.system(INIT_CMD + " restart_panel")
os.system(INIT_CMD + " default")
else:
print("|-端口范围在0-65536之间")
return