Skip to content

Commit af28533

Browse files
committed
Update plugin.py
1 parent d156740 commit af28533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppython/plugins/pdm/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def on_post_install(self, project: Project, dry_run: bool, **_kwargs: Any) -> No
5959

6060
self.logger.info("CPPython: Entered 'on_post_install'")
6161

62-
if (pdm_pyproject := project.pyproject.read()) is None:
62+
if (pdm_pyproject := project.pyproject.open_for_read()) is None:
6363
self.logger.info('CPPython: Project data was not available')
6464
return
6565

0 commit comments

Comments
 (0)