Skip to content

Commit

Permalink
fix(config): add UTF-8 encoding to config file opening
Browse files Browse the repository at this point in the history
  • Loading branch information
amnweb committed Dec 24, 2024
1 parent d961915 commit 879bbf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def get_config(show_error_dialog=False) -> Union[dict, None]:
config_path = get_config_path()

try:
with open(config_path) as yaml_stream:
with open(config_path, encoding='utf-8') as yaml_stream:
config = safe_load(yaml_stream)

if yaml_validator.validate(config, CONFIG_SCHEMA):
Expand Down

0 comments on commit 879bbf2

Please sign in to comment.