Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5d1392

Browse files
committed
Fix the fix (my error -- hasty pasty).
1 parent a29b622 commit b5d1392

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/asynchat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def handle_read (self):
119119
# 3) end of buffer does not match any prefix:
120120
# collect data
121121
terminator_len = len(terminator)
122-
index = ac_in_buffer.find (self.terminator)
122+
index = self.ac_in_buffer.find(terminator)
123123
if index != -1:
124124
# we found the terminator
125125
if index > 0:

0 commit comments

Comments
 (0)