Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
groupe-calcul
spip2pelican
Commits
fedb9ef1
Commit
fedb9ef1
authored
Jun 20, 2018
by
Matthieu Boileau
Browse files
Minor change
parent
067f3c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
spip2pelican.py
View file @
fedb9ef1
...
...
@@ -487,7 +487,7 @@ class Website:
if
not
parent
:
# insert parent if it does not exist
insert_node
(
parent_id
)
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment