force utf8

pull/384/head
Eren Gölge 2021-03-13 00:46:53 +01:00
parent bf0caba0bc
commit a8c348ffb2
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class ModelManager(object):
Args:
file_path (str): path to .models.json.
"""
with open(file_path) as json_file:
with open(file_path, "r", encoding="utf-8") as json_file:
self.models_dict = json.load(json_file)
def list_langs(self):