Update index.py

This commit is contained in:
midoks
2018-12-09 19:10:14 +08:00
parent 5b87572bff
commit ba931a0c2a
-1
View File
@@ -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)