mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update setting.py
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ if not os.path.exists(os.getcwd() + '/logs'):
|
||||
os.mkdir(os.getcwd() + '/logs')
|
||||
|
||||
# default port
|
||||
mw_port = 7200
|
||||
mw_port = "7200"
|
||||
if os.path.exists("data/port.pl"):
|
||||
mw_port = mw.readFile('data/port.pl')
|
||||
mw_port.strip()
|
||||
|
||||
Reference in New Issue
Block a user