fix: location position copy instead of reference
This commit is contained in:
@@ -129,7 +129,7 @@ class ArticleOverview:
|
||||
elif c.is_dir():
|
||||
self.child_articles.append(ArticleOverview(
|
||||
directory=c,
|
||||
location_in_tree=self.location_in_tree,
|
||||
location_in_tree=self.location_in_tree.copy(),
|
||||
))
|
||||
|
||||
# the tree is built
|
||||
|
||||
Reference in New Issue
Block a user