def get_root_path(self): return os.path.join(get_root_location(), force_unicode(self.name))
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())