Update mw.py

This commit is contained in:
Mr Chen 2024-11-05 02:59:41 +08:00
parent 9ce92eb69e
commit f9b7526007
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ def getWwwDir():
def getPanelPort():
port_file = mw.getPanelDir()+'/data/port.pl'
port = mw.readFile(port_file).strip()
port_file = getPanelDir()+'/data/port.pl'
port = readFile(port_file).strip()
if not port:
return 7200
return int(port)