kevinwang676 commited on
Commit
0ab89dc
1 Parent(s): d0db395

Update tools/i18n/i18n.py

Browse files
Files changed (1) hide show
  1. tools/i18n/i18n.py +1 -1
tools/i18n/i18n.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  I18N_JSON_DIR : os.PathLike = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'locale')
6
 
7
  def load_language_list(language):
8
- with open("tools/i18n/locale/zh_CN.json"), "r", encoding="utf-8") as f:
9
  language_list = json.load(f)
10
  return language_list
11
 
 
5
  I18N_JSON_DIR : os.PathLike = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'locale')
6
 
7
  def load_language_list(language):
8
+ with open("tools/i18n/locale/zh_CN.json", "r", encoding="utf-8") as f:
9
  language_list = json.load(f)
10
  return language_list
11