ConfigTreeNode.py
branchwxPython4
changeset 3318 aee9e98c856a
parent 3163 7cf38cd0d820
child 3641 d8dc29dfc344
equal deleted inserted replaced
3317:ecfa689684c5 3318:aee9e98c856a
   192 
   192 
   193     def CTNMakeDir(self):
   193     def CTNMakeDir(self):
   194         os.mkdir(self.CTNPath())
   194         os.mkdir(self.CTNPath())
   195 
   195 
   196     def CTNRequestSave(self, from_project_path=None):
   196     def CTNRequestSave(self, from_project_path=None):
   197         if self.GetCTRoot().CheckProjectPathPerm(False):
   197         if self.GetCTRoot().CheckProjectPathPerm():
   198             # If confnode do not have corresponding directory
   198             # If confnode do not have corresponding directory
   199             ctnpath = self.CTNPath()
   199             ctnpath = self.CTNPath()
   200             if not os.path.isdir(ctnpath):
   200             if not os.path.isdir(ctnpath):
   201                 # Create it
   201                 # Create it
   202                 os.mkdir(ctnpath)
   202                 os.mkdir(ctnpath)