diff --git a/check50/__init__.py b/check50/__init__.py index 6c6333c..5f05291 100644 --- a/check50/__init__.py +++ b/check50/__init__.py @@ -15,7 +15,7 @@ def _setup_translation(): from importlib.resources import files global _translation _translation = gettext.translation( - "check50", files("check50").joinpath("locale"), fallback=True) + "check50", str(files("check50").joinpath("locale")), fallback=True) _translation.install()