Update index.py

This commit is contained in:
Mr Chen
2024-10-02 01:40:20 +08:00
parent dee7abc850
commit e2e94015a0
+2 -1
View File
@@ -203,7 +203,8 @@ def initReplace():
judge_file = getServerDir()+'/data/pgadmin4/pgadmin4.db'
if not os.path.exists(judge_file):
pg_init_bash = getPluginDir()+'/pg_init.sh'
mw.execShell("bash "+pg_init_bash)
t = mw.execShell("bash "+pg_init_bash)
print(t)
# systemd
systemDir = mw.systemdCfgDir()