Skip to content

Commit

Permalink
Add ō to special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjacksn committed Feb 20, 2025
1 parent 9f01125 commit 25e9746
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rainwave_library/models/mp3.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
# 'ú': 250,
# 'ü': 252,
# 'ā': 257,
# 'ō': 333,
# 'ş': 351,
# 'ū': 363,
# 'К': 1050,
Expand Down Expand Up @@ -54,8 +55,8 @@ def make_safe(s: str) -> str:
}
special = dict(
zip(
map(ord, ÉÜàáâãäçèéêíðñóöúüāşūКСавеийкмностṃ"),
"2EUaaaaaceeeidnoouuasuKSaveijkmnostm",
map(ord, ÉÜàáâãäçèéêíðñóöúüāōşūКСавеийкмностṃ"),
"2EUaaaaaceeeidnoouuaosuKSaveijkmnostm",
)
)
translate_table.update(special)
Expand Down

0 comments on commit 25e9746

Please sign in to comment.