Fix the fix (my error -- hasty pasty).
This commit is contained in:
parent
a29b6222fe
commit
b5d1392d92
|
@ -119,7 +119,7 @@ class async_chat (asyncore.dispatcher):
|
|||
# 3) end of buffer does not match any prefix:
|
||||
# collect data
|
||||
terminator_len = len(terminator)
|
||||
index = ac_in_buffer.find (self.terminator)
|
||||
index = self.ac_in_buffer.find(terminator)
|
||||
if index != -1:
|
||||
# we found the terminator
|
||||
if index > 0:
|
||||
|
|
Loading…
Reference in New Issue