You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "homoglyphs/core.py", line 240, in to_ascii
return self.uniq_and_sort(self._to_ascii(text))
File "homoglyphs/core.py", line 169, in uniq_and_sort
result = list(set(data))
File "homoglyphs/core.py", line 235, in _to_ascii
for variant in self._get_combinations(text, ascii=True):
File "homoglyphs/core.py", line 218, in _get_combinations
alt_chars = self._get_char_variants(char)
File "homoglyphs/core.py", line 195, in _get_char_variants
if not self._update_alphabet(char):
File "homoglyphs/core.py", line 182, in _update_alphabet
category = Categories.detect(char)
File "homoglyphs/core.py", line 66, in detect
category = unicodedata.name(char).split()[0]
ValueError: no such name
I guess it should rather return [].
(BTW, is this fork still maintained?)
The text was updated successfully, but these errors were encountered:
I guess it should rather return
[]
.(BTW, is this fork still maintained?)
The text was updated successfully, but these errors were encountered: