Skip to content

Commit 18bf408

Browse files
author
Konstantin Belyavskiy
committed
inconnect bug fix
Add missing inconnect = false. This bug leads to only one disconnection allow. Needed for #106
1 parent 458a9cf commit 18bf408

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tarantool/connection.py

+1
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ def check(): # Check that connection is alive
335335
try:
336336
self.inconnect = True
337337
self.handshake()
338+
self.inconnect = False
338339
except:
339340
self.inconnect = False
340341
raise

0 commit comments

Comments
 (0)