Improve "non-complete line" TRACE log
This commit is contained in:
parent
dceed3d439
commit
e6a55b2b22
1 changed files with 2 additions and 2 deletions
|
@ -224,9 +224,9 @@ class Server(IRCObject.Object):
|
|||
|
||||
data_lines = [line.strip(b"\r") for line in data.split(b"\n")]
|
||||
if data_lines[-1]:
|
||||
self.bot.log.trace("got non-complete line '%s', buffering.",
|
||||
[data_lines[-1]])
|
||||
self.read_buffer = data_lines[-1]
|
||||
self.bot.log.trace("recevied and buffered non-complete line: %s",
|
||||
[data_lines[-1]])
|
||||
|
||||
data_lines.pop(-1)
|
||||
decoded_lines = []
|
||||
|
|
Loading…
Reference in a new issue