fix: location position copy instead of reference

This commit is contained in:
2025-04-15 12:47:56 +02:00
parent d70a0a8630
commit dc61a7ee92
3 changed files with 5 additions and 2 deletions

View File

@@ -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