Skip to content

Commit 4d0b7b4

Browse files
authored
Update PgDBI.py
1 parent 2977273 commit 4d0b7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rda_python_common/PgDBI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ def pgconnect(reconnect = 0, pgcnt = 0, autocommit = True):
521521
config['host'] = PGDBI['DBHOST'] if PGDBI['DBHOST'] else PGDBI['DEFHOST']
522522
if not PGDBI['DBPORT']: PGDBI['DBPORT'] = get_dbport(PGDBI['DBNAME'])
523523
if PGDBI['DBPORT']: config['port'] = PGDBI['DBPORT']
524-
config = ['password'] = get_pgpass_password()
524+
config['password'] = get_pgpass_password()
525525

526526
sqlstr = "psycopg2.connect(**{})".format(config)
527527
if PgLOG.PGLOG['DBGLEVEL']: PgLOG.pgdbg(1000, sqlstr)

0 commit comments

Comments
 (0)