mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Fix including character at the border
This commit is contained in:
parent
c4dcfd3d4b
commit
f1ae478433
@ -35,7 +35,7 @@ def getwords(s):
|
|||||||
# obtained from this one: ord("\u037e") GREEK QUESTION MARK
|
# obtained from this one: ord("\u037e") GREEK QUESTION MARK
|
||||||
s = "".join(
|
s = "".join(
|
||||||
c for c in s
|
c for c in s
|
||||||
if (ord(c) < 894
|
if (ord(c) <= 894
|
||||||
and c in string.ascii_letters + string.digits + string.whitespace
|
and c in string.ascii_letters + string.digits + string.whitespace
|
||||||
)
|
)
|
||||||
or ord(c) > 894
|
or ord(c) > 894
|
||||||
|
Loading…
x
Reference in New Issue
Block a user