Fixed translation loading

This commit is contained in:
2022-10-19 17:38:21 +02:00
parent 0914f969e5
commit 511622820a
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class TranslationService(TranslationServiceABC):
raise FileNotFoundError()
file_dict = {}
with open(f'translation/{lang}.json', 'r', encoding='utf8') as file:
with open(f'translation/{lang}.json', 'r', encoding='utf-8') as file:
file_dict = json.load(file)
file.close()