Fix including character at the border

This commit is contained in:
glubsy 2021-04-29 05:29:35 +02:00
parent c4dcfd3d4b
commit f1ae478433
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ def getwords(s):
# obtained from this one: ord("\u037e") GREEK QUESTION MARK
s = "".join(
c for c in s
if (ord(c) < 894
if (ord(c) <= 894
and c in string.ascii_letters + string.digits + string.whitespace
)
or ord(c) > 894