From 56a276f01933399778dcdeaf7263d5f99c2a503c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 15:12:14 +0800 Subject: [PATCH] Update index.py --- plugins/pgadmin/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/pgadmin/index.py b/plugins/pgadmin/index.py index 59b68be34..a89257707 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -210,7 +210,7 @@ def initReplace(): service_path = mw.getServerDir() 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') def start():