From 876e940283825ea348162637852fb3a4aff16ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Tue, 11 Jun 2024 05:46:17 +0000 Subject: [PATCH] Fix normalize_string --- jellyfin_kodi/helper/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/helper/utils.py b/jellyfin_kodi/helper/utils.py index c7c31567..3e2b58cd 100644 --- a/jellyfin_kodi/helper/utils.py +++ b/jellyfin_kodi/helper/utils.py @@ -425,7 +425,7 @@ def normalize_string(text): text = text.strip() text = text.rstrip(".") - text = unicodedata.normalize("NFKD", str(text, "utf-8")).encode("ascii", "ignore") + text = unicodedata.normalize("NFKD", text).encode("ascii", "ignore") return text