Skip to content

Commit

Permalink
Fix encoding bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TLNBS2405 committed Dec 15, 2023
1 parent d6543c7 commit 59d874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/json_movelist_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def get_movelist(character_name: str) -> dict:
os.path.abspath(os.path.join(base_path, "..", "json_movelist", character_name + ".json"))
filepath = os.path.abspath(os.path.join(base_path, "..", "json_movelist", character_name + ".json"))
with open(filepath) as move_file:
with open(filepath, encoding='utf-8') as move_file:
move_file_contents = json.loads(move_file.read())
return move_file_contents

Expand Down

0 comments on commit 59d874f

Please sign in to comment.