Skip to content

Commit c0e7982

Browse files
committed
Load yaml as utf-8
1 parent d61bb67 commit c0e7982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openandroidinstaller/installer_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(
5555

5656
@classmethod
5757
def from_file(cls, path):
58-
with open(path, "r") as stream:
58+
with open(path, "r", encoding="utf-8") as stream:
5959
try:
6060
raw_config = yaml.safe_load(stream)
6161
if validate_config(raw_config):

0 commit comments

Comments
 (0)