diff --git a/plugins/pureftp/index.py b/plugins/pureftp/index.py index cf5e118ab..11508e7fa 100755 --- a/plugins/pureftp/index.py +++ b/plugins/pureftp/index.py @@ -147,7 +147,7 @@ def initDreplace(): # and not os.path.exists(systemService) content = mw.readFile(systemServiceTpl) content = content.replace('{$SERVER_PATH}', service_path) - mw.writeFile(systemService, se_content) + mw.writeFile(systemService, content) mw.execShell('systemctl daemon-reload') return file_bin