We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f4d16 commit f4b83aeCopy full SHA for f4b83ae
sdk/python/packages/flet-cli/src/flet_cli/utils/pyproject_toml.py
@@ -8,7 +8,7 @@ def load_pyproject_toml(project_dir: Path):
8
pyproject_toml: Optional[dict[str, Any]] = {}
9
pyproject_toml_file = project_dir.joinpath("pyproject.toml")
10
if pyproject_toml_file.exists():
11
- with pyproject_toml_file.open("r") as f:
+ with pyproject_toml_file.open("r", encoding="utf-8") as f:
12
pyproject_toml = toml.loads(f.read())
13
14
def get_pyproject(setting: Optional[str] = None):
0 commit comments