Use right var name

This commit is contained in:
clerie 2022-01-06 23:55:01 +01:00
parent 5c565bc62c
commit a87893199c

View File

@ -39,7 +39,7 @@ class Session:
"""
while True:
r = self.connection.recv()
r = self._connection.recv()
if r is not None:
return r
sleep(0.1)
@ -75,7 +75,7 @@ class Session:
"""
message = messages.construct(request)
self.connection.send(message)
self._connection.send(message)
res = self._wait_for_respose()
return messages.parse(res)