ConfigTreeNode.py
changeset 1063 9b5995303db1
parent 1061 02f371f3e063
child 1179 3e7bd88fcff7
--- a/ConfigTreeNode.py	Wed Apr 24 17:37:46 2013 +0200
+++ b/ConfigTreeNode.py	Wed Apr 24 18:50:37 2013 +0200
@@ -188,8 +188,10 @@
             self.ChangesToSave = False
             # go through all children and do the same
             for CTNChild in self.IterChildren():
-                result = CTNChild.CTNRequestSave(
-                    CTNChild.CTNPath(project_path=from_project_path))
+                CTNChildPath = None
+                if from_project_path is not None:
+                    CTNChildPath = CTNChild.CTNPath(project_path=from_project_path)
+                result = CTNChild.CTNRequestSave(CTNChildPath)
                 if result:
                     return result
         return None