예제 #1
0
 def get_root_path(self):
     return os.path.join(get_root_location(), force_unicode(self.name))
예제 #2
0
 def get_root_path(self):
     return os.path.join(get_root_location(), force_unicode(self.name))
예제 #3
0
 def rebuild_if_missing(self):
     if not os.path.exists(get_root_location()):
         os.mkdir(get_root_location())
     if not os.path.exists(self.get_root_path()):
         os.mkdir(self.get_root_path())
예제 #4
0
 def rebuild_if_missing(self):
     if not os.path.exists(get_root_location()):
         os.mkdir(get_root_location())
     if not os.path.exists(self.get_root_path()):
         os.mkdir(self.get_root_path())