Skip to content

Commit 988caf2

Browse files
author
Zhen
committed
Fix typo on names
1 parent ddb0d8b commit 988caf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo4j/bolt/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def __init__(self, address, sock, error_handler, **config):
208208
# Pick up the server certificate, if any
209209
self.der_encoded_server_certificate = config.get("der_encoded_server_certificate")
210210

211-
def Init(self):
211+
def init(self):
212212
response = InitResponse(self)
213213
self.append(INIT, (self.user_agent, self.auth_dict), response=response)
214214
self.sync()
@@ -636,7 +636,7 @@ def connect(address, ssl_context=None, error_handler=None, **config):
636636
elif agreed_version == 1:
637637
connection = Connection(address, s, der_encoded_server_certificate=der_encoded_server_certificate,
638638
error_handler=error_handler, **config)
639-
connection.Init()
639+
connection.init()
640640
return connection
641641
elif agreed_version == 0x48545450:
642642
log_error("S: [CLOSE]")

0 commit comments

Comments
 (0)