Skip to content

Commit

Permalink
Merge pull request #83 from AnthonyMichaelTDM/fix-issue-79
Browse files Browse the repository at this point in the history
fix(issue #79): potential UnicodeDecodeError When Initiating the Program
  • Loading branch information
AnthonyMichaelTDM authored Jul 14, 2024
2 parents 99ec832 + 114d636 commit 6d03830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ def remove_all_ocs() -> None:
app = QApplication()

# load reference data
with open("guids.json", "r") as g:
with open("guids.json", "r", encoding="utf-8") as g:
guid_dict: dict[str, Any] = json.loads(g.read())

try:
Expand Down

0 comments on commit 6d03830

Please sign in to comment.