--- a/LPCProjectController.py Wed Feb 14 14:46:13 2018 +0100
+++ b/LPCProjectController.py Wed Feb 14 14:47:15 2018 +0100
@@ -124,14 +124,9 @@
plc_file = os.path.join(ProjectPath, "plc.xml")
if not os.path.isfile(plc_file):
- self.CreateNewProject({"companyName": "",
- ProjectController.LoadProject(self, ProjectPath, BuildPath=None)
+ self.NewProject(ProjectPath, BuildPath) + ProjectController.LoadProject(self, ProjectPath, BuildPath) canopen_child = self.GetChildByName("CanOpen")
if canopen_child is None: