Skip to content

Commit

Permalink
refactor: specify encoding for parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt committed Jul 31, 2024
1 parent 01ab984 commit dc0d7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionsheets/sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def parse_toml_file(path) -> ActionsheetView:
:param path: The path to open
:return: Processed action sheet info and data
"""
with open(path) as file:
with open(path, encoding='utf-8') as file:
file_content = file.read()
return parse_toml(content=file_content, content_id=path)

Expand Down

0 comments on commit dc0d7a4

Please sign in to comment.