Skip to content

Commit

Permalink
chore: encoding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Nov 1, 2024
1 parent 171dfa2 commit f40ce13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_mknodes/appconfig/appconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def validate_ip_port(cls, v: str) -> str:
import devtools
import yaml

text = pathlib.Path("mkdocs.yml").read_text()
text = pathlib.Path("mkdocs.yml").read_text("utf-8")
cfg = yaml.unsafe_load(text)
config = AppConfig(**cfg)

Expand Down

0 comments on commit f40ce13

Please sign in to comment.