mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 10:46:11 +00:00
Fix normalize_string
This commit is contained in:
parent
cc0cabf38a
commit
876e940283
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ def normalize_string(text):
|
||||||
text = text.strip()
|
text = text.strip()
|
||||||
|
|
||||||
text = text.rstrip(".")
|
text = text.rstrip(".")
|
||||||
text = unicodedata.normalize("NFKD", str(text, "utf-8")).encode("ascii", "ignore")
|
text = unicodedata.normalize("NFKD", text).encode("ascii", "ignore")
|
||||||
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue