Update index.py

This commit is contained in:
midoks 2019-01-05 11:42:29 +08:00
parent 0cf0219f27
commit b09b55b66b
1 changed files with 2 additions and 2 deletions

View File

@ -178,9 +178,9 @@ def saveConf():
content = re.sub('MAXCONN=\d+', 'MAXCONN=' + args['maxconn'], content)
content = re.sub('CACHESIZE=\d+', 'CACHESIZE=' +
args['cachesize'], content)
print public.writeFile(confFile, content)
public.writeFile(confFile, content)
restart()
return 'ok'
return 'save ok'
except Exception as e:
pass
return 'fail'