Skip to content
Browse files

Fixing wrong path.

  • Loading branch information
felixfontein committed Dec 2, 2016
1 parent da3f0be commit 8ecfceea576733e4f8a3e82e827681a0b10260d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/
@@ -81,7 +81,7 @@ def get_classification_friendly_name(self, section, lang, only_last_component=Fa

def get_path(self, section, lang, type='page'):
"""A path handler for the given classification."""
return [_f for _f in [['TRANSLATIONS'][lang], section] if _f], 'always'
return [_f for _f in [section] if _f], 'always'

def provide_context_and_uptodate(self, section, lang, node=None):
"""Provide data for the context and the uptodate list for the list of the given classifiation."""

0 comments on commit 8ecfcee

Please sign in to comment.