bug fix
This commit is contained in:
@ -1,2 +1,2 @@
|
|||||||
__version__ = "4.1.0b2"
|
__version__ = "4.1.0b3"
|
||||||
|
|
||||||
|
@ -610,7 +610,7 @@ class node:
|
|||||||
endloop = True
|
endloop = True
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
after = "Connection timeout" if results == 12 else child.after.decode()
|
after = "Connection timeout" if results_value == pexpect.TIMEOUT else child.after.decode()
|
||||||
return f"Connection failed code: {results}\n{child.before.decode().lstrip()}{after}{child.readline().decode()}".rstrip()
|
return f"Connection failed code: {results}\n{child.before.decode().lstrip()}{after}{child.readline().decode()}".rstrip()
|
||||||
|
|
||||||
elif results in eof_indices[self.protocol]:
|
elif results in eof_indices[self.protocol]:
|
||||||
|
Reference in New Issue
Block a user