mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -124,7 +124,7 @@ def getDbPort():
|
||||
|
||||
|
||||
def getSocketFile():
|
||||
sock_name = 's.PGSQL.' + getDbPort()
|
||||
sock_name = '.s.PGSQL.' + getDbPort()
|
||||
sock_tmp = '/tmp/' + sock_name
|
||||
if os.path.exists(sock_tmp):
|
||||
return sock_tmp
|
||||
|
||||
Reference in New Issue
Block a user