Skip to content

Commit

Permalink
Update cli.py: enforce UTF-8 for config_path
Browse files Browse the repository at this point in the history
  • Loading branch information
Alimektor authored Oct 28, 2024
1 parent aa37f73 commit e3b0812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion organize/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def from_stdin(cls) -> "ConfigWithPath":
def by_name_or_path(cls, name_or_path: Optional[str]) -> "ConfigWithPath":
config_path = find_config(name_or_path=name_or_path)
return cls(
config=config_path.read_text(),
config=config_path.read_text(encoding="utf-8"),
config_path=config_path,
)

Expand Down

0 comments on commit e3b0812

Please sign in to comment.