Fix the fix (my error -- hasty pasty).

This commit is contained in:
Tim Peters 2001-04-05 22:38:32 +00:00
parent a29b6222fe
commit b5d1392d92
1 changed files with 1 additions and 1 deletions

View File

@ -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: