From 0d7eaa235826c59f7a537b739e39d9065fdbf62e Mon Sep 17 00:00:00 2001 From: Soapy7261 Official <81933267+Soapy7261@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:18:16 -0400 Subject: [PATCH] there --- providers/translation/get_translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/translation/get_translate.py b/providers/translation/get_translate.py index 064c9ff..7a0d7e8 100644 --- a/providers/translation/get_translate.py +++ b/providers/translation/get_translate.py @@ -14,7 +14,7 @@ def _get_translation_map(self) -> dict: translation_map[dirname.removeprefix("./translations/")] = json_data return translation_map def get_translation(self, language: str, message_code: str) -> str: - translation_map = Translation._get_translation_map() + translation_map = self._get_translation_map() try: return translation_map[language][message_code] except KeyError: