Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
2 changes: 1 addition & 1 deletion src/prisma/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def load(cls, path: Path | None = None) -> Config:
path = Path('pyproject.toml')

if path.exists():
config = tomlkit.loads(path.read_text()).get('tool', {}).get('prisma', {})
config = tomlkit.loads(path.read_text(encoding='utf-8')).get('tool', {}).get('prisma', {})
else:
config = {}

Expand Down