Skip to content

Commit

Permalink
Ensure utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossyChainsaw committed Feb 1, 2025
1 parent bd5130d commit 77caea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/data_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async def load_combined(server_id):
return server

def load_json_file(file_path):
with open(file_path, 'r') as file:
with open(file_path, 'r', encoding='utf-8') as file:
data = json.load(file)
return data

Expand Down

0 comments on commit 77caea3

Please sign in to comment.