ConfigTreeNode.py
changeset 1760 ed2e2afb9573
parent 1758 845ca626db09
child 1765 ccf59c1f0b45
--- a/ConfigTreeNode.py	Thu Aug 17 10:04:24 2017 +0300
+++ b/ConfigTreeNode.py	Thu Aug 17 10:08:23 2017 +0300
@@ -561,7 +561,7 @@
                 # check name is unique
                 NewCTNName = _self.FindNewName(CTNName)
                 # If dir have already be made, and file exist
-                if os.path.isdir(_self.CTNPath(NewCTNName)):  #and os.path.isfile(_self.ConfNodeXmlFilePath(CTNName)):
+                if os.path.isdir(_self.CTNPath(NewCTNName)):  # and os.path.isfile(_self.ConfNodeXmlFilePath(CTNName)):
                     # Load the confnode.xml file into parameters members
                     _self.LoadXMLParams(NewCTNName)
                     # Basic check. Better to fail immediately.