Skip to content

Commit 237d11a

Browse files
elpransJames William Pye
authored andcommitted
driver: Fix Connection.settings.path property setter
Connection.settings.path property setter was broken due to a thinko.
1 parent 75e8ce7 commit 237d11a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/driver/pq3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ def path():
19321932
def fget(self):
19331933
return pg_str.split_ident(self["search_path"])
19341934
def fset(self, value):
1935-
self.settings['search_path'] = ','.join([
1935+
self['search_path'] = ','.join([
19361936
'"%s"' %(x.replace('"', '""'),) for x in value
19371937
])
19381938
def fdel(self):

0 commit comments

Comments
 (0)