Skip to content

Commit 12e780b

Browse files
author
James William Pye
committed
Don't assume sep as being the first keyword argument.
1 parent fdfd35a commit 12e780b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/iri.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def construct(x, obscure_password = False):
110110

111111
# It could be a string search_path, split if it is.
112112
if search_path is not None and isinstance(search_path, str):
113-
search_path = pg_str.split_ident(search_path, ',')
113+
search_path = pg_str.split_ident(search_path, sep = ',')
114114

115115
port = None
116116
if 'unix' in x:

0 commit comments

Comments
 (0)