Update index.py
This commit is contained in:
parent
084843586e
commit
bc6c1886b9
|
|
@ -117,9 +117,10 @@ def initAgentDConf():
|
|||
mw.writeFile(dst_path,content)
|
||||
|
||||
def initDreplace():
|
||||
initAgentDConf()
|
||||
|
||||
init_file = getServerDir() + '/init.pl'
|
||||
if not os.path.exists(init_file):
|
||||
initAgentDConf()
|
||||
initAgentConf()
|
||||
openPort()
|
||||
mw.writeFile(init_file, 'ok')
|
||||
|
|
|
|||
Loading…
Reference in New Issue