Skip to content

Commit a85e605

Browse files
committedJan 6, 2017
Fixing bug introduced in 8a69513.
1 parent 95c75e3 commit a85e605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎v7/sidebar/sidebar.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def invert_order(node):
104104
else:
105105
root_list = []
106106
for classification_name, classification in classifications:
107-
node = utils.TreeNode('')
108-
node.classification_name = classification_name
107+
node = utils.TreeNode(classification_name)
108+
node.classification_name = classification
109109
node.classification_path = taxonomy.extract_hierarchy(classification)
110110
root_list.append(node)
111111
flat_hierarchy = utils.flatten_tree_structure(root_list)

0 commit comments

Comments
 (0)
Please sign in to comment.