From e706ff17c179ee7ec096aee1e11ea543c8812aac Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 2 Oct 2024 00:07:35 +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 85e439ff5..f2db1a565 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -177,7 +177,7 @@ def initPgConfFile(): if not os.path.exists(dst_file): service_path = mw.getServerDir() content = mw.readFile(file_tpl) - content = content.replace('{$SERVER_PATH}', service_path+'/'+getPluginName()+'/data') + content = content.replace('{$DATA_PATH}', service_path+'/'+getPluginName()+'/data') mw.writeFile(dst_file, content)