From 704196f47e85f52dc4ea1ae7183fe8b3091c0f07 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Sat, 18 Jun 2022 14:53:21 +0200 Subject: [PATCH] Use um_data function to get entrypoint Contributes to CURA-9365 --- generators/PyCharmRunEnv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/PyCharmRunEnv.py b/generators/PyCharmRunEnv.py index 2546e4b..95296ca 100644 --- a/generators/PyCharmRunEnv.py +++ b/generators/PyCharmRunEnv.py @@ -35,7 +35,7 @@ class PyCharmRunEnv(Generator): @property def filename(self): - stem = Path(self.conanfile._conan_data["runinfo"]["entrypoint"]).stem + stem = Path(self.conanfile._um_data(self.conanfile.version)["runinfo"]["entrypoint"]).stem return str(Path(self.conanfile.source_folder).joinpath(".run", f"{stem}.run.xml")) @property