fix: dynamic unified title

This commit is contained in:
2024-04-12 14:14:10 +02:00
parent 92495f73fd
commit 29e2b4616e
5 changed files with 36 additions and 5 deletions

View File

@@ -16,9 +16,12 @@ def unify(string: str) -> str:
"""
returns a unified str, to make comparisons easy.
a unified string has the following attributes:
- is lowercase
- is lowercase
"""
if string is None:
return None
try:
string = translit(string, reversed=True)
except LanguageDetectionError: