Skip to content

Commit

Permalink
UnicodeDecodeError
Browse files Browse the repository at this point in the history
  • Loading branch information
axif0 committed Oct 5, 2024
1 parent aafe5bb commit 6719561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scribe_data/cli/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def export_json(
return

try:
with data_file.open("r") as file:
with data_file.open("r", encoding="utf-8") as file:
data = json.load(file)

except (IOError, json.JSONDecodeError) as e:
Expand Down

0 comments on commit 6719561

Please sign in to comment.