Skip to content

Commit

Permalink
Use utf-8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Sep 19, 2024
1 parent 7e57f04 commit 59ee4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pros/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, file, error_on_decode=False):
if file:
# If the file already exists, update this new config with the values in the file
if os.path.isfile(file):
with open(file, 'r') as f:
with open(file, 'r', encoding="utf-8") as f:
try:
result = jsonpickle.decode(f.read())
if isinstance(result, dict):
Expand Down

0 comments on commit 59ee4c6

Please sign in to comment.