Fixed length on receive
This commit is contained in:
parent
befca7cdf8
commit
f8c699f5af
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class ESock:
|
|||
self._sock.close()
|
||||
return None, ""
|
||||
if self.debug:
|
||||
Logging.info("Received %d-long '%s' on route '%s': %s (%s:%d)" % (data_length, type(data).__name__, route, str(data).replace("\n", " "), self.address, self.port))
|
||||
Logging.info("Received %d-long '%s' on route '%s': %s (%s:%d)" % (len(data), type(data).__name__, route, str(data).replace("\n", " "), self.address, self.port))
|
||||
return data, route
|
||||
|
||||
|
||||
|
|
Reference in a new issue