Skip to content

Commit a67836a

Browse files
committed
fix for un-authed servers
1 parent eaa340c commit a67836a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/v1/connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def __init__(self, sock, **config):
215215
# Determine auth details
216216
try:
217217
self.auth_dict = vars(config["auth"])
218-
except KeyError:
218+
except (KeyError, TypeError):
219219
self.auth_dict = {}
220220

221221
# Pick up the server certificate, if any

0 commit comments

Comments
 (0)