Skip to content

Commit

Permalink
1.3hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
3093FengMing committed Feb 20, 2024
1 parent 70c457e commit 601745d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions WorldTranslationExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,7 @@ def scan_datapacks(path):

# main
def gen_lang(path):
obj = json.dumps(rel_lang, indent=cfg_lang["indent"], ensure_ascii=cfg_lang["ensure_ascii"],
sort_keys=cfg_lang["sort_keys"])
obj = json.dumps(rel_lang, indent=cfg_lang["indent"], ensure_ascii=cfg_lang["ensure_ascii"], sort_keys=cfg_lang["sort_keys"])
with open(path, 'w', encoding="utf-8") as f:
f.write(obj)

Expand Down

0 comments on commit 601745d

Please sign in to comment.