Update index.py
This commit is contained in:
parent
5d91a1a6c8
commit
7c7e143f75
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue