mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update index.py
This commit is contained in:
@@ -144,7 +144,6 @@ def initDreplace():
|
||||
systemServiceTpl = getPluginDir() + '/init.d/pureftp.service.tpl'
|
||||
|
||||
if os.path.exists(systemDir):
|
||||
# and not os.path.exists(systemService)
|
||||
content = mw.readFile(systemServiceTpl)
|
||||
content = content.replace('{$SERVER_PATH}', service_path)
|
||||
mw.writeFile(systemService, content)
|
||||
|
||||
Reference in New Issue
Block a user