mirror of https://gitlab.com/bashrc2/epicyon
Check for none case
parent
1128d1ad6c
commit
00203624f5
3
utils.py
3
utils.py
|
@ -59,6 +59,9 @@ def _standardize_text_range(text: str,
|
||||||
def standardize_text(text: str) -> str:
|
def standardize_text(text: str) -> str:
|
||||||
"""Converts fancy unicode text to ordinary letters
|
"""Converts fancy unicode text to ordinary letters
|
||||||
"""
|
"""
|
||||||
|
if not text:
|
||||||
|
return text
|
||||||
|
|
||||||
char_ranges = (
|
char_ranges = (
|
||||||
[65345, 'a'],
|
[65345, 'a'],
|
||||||
[119886, 'a'],
|
[119886, 'a'],
|
||||||
|
|
Loading…
Reference in New Issue