Update index.py

This commit is contained in:
Mr Chen
2024-11-25 02:32:11 +08:00
parent c6d900c4e0
commit 2d8528ca8d
-1
View File
@@ -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)