Skip to content

Commit

Permalink
Don't convert locale_dir to string
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jul 21, 2024
1 parent 6c35e41 commit 29fd7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package_build/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_lang() -> gettext_module.NullTranslations:

lang = gettext_module.translation(
"messages",
localedir=str(locale_dir),
localedir=locale_dir,
languages=user_languages,
fallback=True,
)
Expand Down

0 comments on commit 29fd7a4

Please sign in to comment.