mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -151,7 +151,6 @@ def saveConf():
|
||||
confFile = getConf()
|
||||
try:
|
||||
args = getArgs()
|
||||
print args
|
||||
content = public.readFile(confFile)
|
||||
content = re.sub('IP=.+', 'IP=' + args['ip'], content)
|
||||
content = re.sub('PORT=\d+', 'PORT=' + args['port'], content)
|
||||
|
||||
Reference in New Issue
Block a user