Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit f315e93

Browse files
committed
[-] fix invalid target_session_attrs value in WebUI URI, fixes #674
1 parent 6125755 commit f315e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpy/datadb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def setConnectionString(host, port, dbname, username, password, require_ssl=Fals
2525
dbname,
2626
username,
2727
'' if password == '' else f'password={password}',
28-
'' if psycopg2.__libpq_version__ < 100000 else 'target_session_attrs="read-write"',
28+
'' if psycopg2.__libpq_version__ < 100000 else 'target_session_attrs=read-write',
2929
connect_timeout,
3030
'' if not require_ssl else 'sslmode=require')
3131

0 commit comments

Comments
 (0)