Set correct path for child collections
This commit is contained in:
parent
4f37e90e20
commit
cfa8c7d8b4
@ -497,8 +497,9 @@ class Collection(BaseCollection):
|
||||
continue
|
||||
child_filesystem_path = path_to_filesystem(filesystem_path, href)
|
||||
if os.path.isdir(child_filesystem_path):
|
||||
child_path = posixpath.join(path, href)
|
||||
child_principal = len(attributes) == 0
|
||||
yield cls(child_filesystem_path, child_principal)
|
||||
yield cls(child_path, child_principal)
|
||||
|
||||
@classmethod
|
||||
def create_collection(cls, href, collection=None, props=None):
|
||||
|
Loading…
Reference in New Issue
Block a user