Update index.py

pull/632/head
Mr Chen 6 months ago
parent c6d900c4e0
commit 2d8528ca8d
  1. 1
      plugins/pureftp/index.py

@ -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)

Loading…
Cancel
Save