From b2788b8043844a9c665a6acbf49f8c5161e0bbc1 Mon Sep 17 00:00:00 2001 From: zaihuaji Date: Thu, 23 Jan 2025 16:22:13 -0600 Subject: [PATCH] USNAME -> LNNAME --- src/rda_python_common/PgDBI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rda_python_common/PgDBI.py b/src/rda_python_common/PgDBI.py index 71e7916..a0be149 100644 --- a/src/rda_python_common/PgDBI.py +++ b/src/rda_python_common/PgDBI.py @@ -2222,7 +2222,7 @@ def get_pgpass_password(): if PGDBI['PWNAME']: return PGDBI['PWNAME'] if not DBPASS: read_pgpass() - return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['USNAME'])) + return DBPASS.get((PGDBI['DBSHOST'], PGDBI['DBPORT'], PGDBI['DBNAME'], PGDBI['LNNAME'])) # # Reads the .pgpass file and returns a dictionary of credentials.