Skip to content

Commit

Permalink
πŸ› fix: locale.py
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Jul 17, 2023
1 parent d7091e9 commit cc48800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/lib/locale.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def load_language_file(self, lng: str):
file_path = Path(EXTENSION_FOLDER, f"locales/{lng}.json")

try:
with open(file_path, 'r') as f:
with open(file_path, 'r', encoding='utf-8') as f:
language_data = json.load(f)
return language_data
except FileNotFoundError:
Expand Down

0 comments on commit cc48800

Please sign in to comment.