Skip to content

Commit

Permalink
[!] FIX i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
SantaSpeen committed Jul 16, 2024
1 parent b73674f commit b4b3953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/i18n/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __init__(self, language: str = None, files_dir="translates/", encoding=None)
self.lang_url = "https://raw.githubusercontent.com/KuiToi/KuiToi-Server/Stable/src/translates/"

def set_language(self, language):
if language == self.language:
if self.__i18n and language == self.language:
return
self.log.debug(f"set_language({language})")
self.language = language
Expand Down

0 comments on commit b4b3953

Please sign in to comment.