Skip to content
Permalink
Browse files
Oops.
  • Loading branch information
felixfontein committed May 20, 2017
1 parent 9d3a174 commit 74bc6d6788805ecba38ae4336edd00b74a34eb8d
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/taxonomies.py
@@ -339,7 +339,7 @@ def sort_node(node, level=0):
# Step 3: collapse the tree structure into a linear sorted list,
# with a node coming before its children.

def append_node(classifications, node, path, ()):
def append_node(classifications, node, path=()):
"""Append the node and then its children to the classifications list."""
if node[0]:
classifications.append(taxonomy.recombine_classification_from_hierarchy(path))

0 comments on commit 74bc6d6

Please sign in to comment.