From c6d900c4e01270cebe0e722231a45bf83056694f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 25 Nov 2024 02:31:12 +0800 Subject: [PATCH] Update index.py --- plugins/pureftp/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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