Skip to content

Commit

Permalink
Fix normalize_string
Browse files Browse the repository at this point in the history
  • Loading branch information
oddstr13 committed Jun 11, 2024
1 parent cc0cabf commit 876e940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jellyfin_kodi/helper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Check warning on line 428 in jellyfin_kodi/helper/utils.py

View check run for this annotation

Codecov / codecov/patch

jellyfin_kodi/helper/utils.py#L428

Added line #L428 was not covered by tests

return text

Expand Down

0 comments on commit 876e940

Please sign in to comment.