Skip to content

Commit

Permalink
Fixing bug introduced in 8a69513.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 6, 2017
1 parent 95c75e3 commit a85e605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v7/sidebar/sidebar.py
Expand Up @@ -104,8 +104,8 @@ def invert_order(node):
else:
root_list = []
for classification_name, classification in classifications:
node = utils.TreeNode('')
node.classification_name = classification_name
node = utils.TreeNode(classification_name)
node.classification_name = classification
node.classification_path = taxonomy.extract_hierarchy(classification)
root_list.append(node)
flat_hierarchy = utils.flatten_tree_structure(root_list)
Expand Down

0 comments on commit a85e605

Please sign in to comment.