Commit fedb9ef1 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Minor change

parent 067f3c4e
......@@ -487,7 +487,7 @@ class Website:
if not parent:
# insert parent if it does not exist
parent = self.rubrique_tree.get(parent_name)
parent = self.rubrique_tree[parent_name]
self.rubrique_tree[node_name] = anytree.Node(node_name, parent=parent)
self.labels[0] = "root" # Root node label
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment