Skip to content

Commit 90cdeb4

Browse files
committed
Fix Issue2550609.
1 parent 796b39e commit 90cdeb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/indexer_rdbms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def tryencode(str):
6969
str = str.encode("utf-8", "replace")
7070
return str
7171
text = tryencode(text).upper()
72-
wordlist = [tryencode(w)
72+
wordlist = [w.encode("utf-8")
7373
for w in re.findall(r'(?u)\b\w{%d,%d}\b'
7474
% (self.minlength, self.maxlength), text)]
7575
words = set()

0 commit comments

Comments
 (0)