Skip to content

Commit

Permalink
Using utf-8 encoding for yaml files.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Feb 13, 2025
1 parent 255edf2 commit 08597ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/extra_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import logging

def load_extra_path_config(yaml_path):
with open(yaml_path, 'r') as stream:
with open(yaml_path, 'r', encoding='utf-8') as stream:
config = yaml.safe_load(stream)
yaml_dir = os.path.dirname(os.path.abspath(yaml_path))
for c in config:
Expand Down

0 comments on commit 08597ca

Please sign in to comment.