Skip to content

Commit

Permalink
1.6.1dev: fix libpq version detection in postgres_backend.py (closes …
Browse files Browse the repository at this point in the history
…#13803)

Patch by BtbN.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/1.6-stable@17861 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Oct 27, 2024
1 parent 2134384 commit abf33d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trac/db/postgres_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
'''.encode('utf-8'),
_f.read(), re.VERBOSE)
if _match:
_libpq_pathname = _match.group(1)
_libpq_pathname = _match.group(1).decode('utf-8')
else:
if re.search(r'\0libpq\.dll\0'.encode('utf-8'), _f.read(),
re.IGNORECASE):
Expand Down

0 comments on commit abf33d3

Please sign in to comment.