mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-29 09:24:45 +00:00
fixes #85
This commit is contained in:
parent
eb8571b0b4
commit
479326873a
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ def load_pyproject_settings(src: Path) -> Dict:
|
|||
pyproject_file = find_pyproject(src)
|
||||
|
||||
if pyproject_file:
|
||||
content = tomlkit.parse(pyproject_file.read_text())
|
||||
content = tomlkit.parse(pyproject_file.read_text(encoding="utf8"))
|
||||
try:
|
||||
djlint_content = content["tool"]["djlint"] # type: ignore
|
||||
except KeyError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue