Skip to content

Commit

Permalink
fixie fixie
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 4, 2015
1 parent 254f4e3 commit e90a68f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -674,7 +674,7 @@ def __init__(self, **config):
if not self.config.get('COPY_SOURCES'):
self.config['SHOW_SOURCELINK'] = False

if self.config['CATEGORY_PATH'] is None:
if self.config['CATEGORY_PATH']._inp is None:
self.config['CATEGORY_PATH'] = self.config['TAG_PATH']
if self.config['CATEGORY_PAGES_ARE_INDEXES'] is None:
self.config['CATEGORY_PAGES_ARE_INDEXES'] = self.config['TAG_PAGES_ARE_INDEXES']
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/tags.py
Expand Up @@ -412,7 +412,7 @@ def category_index_path(self, name, lang):
link://category_index => /categories/index.html
"""
return [_f for _f in [self.site.config['TRANSLATIONS'][lang],
self.site.config['CATEGORY_PATH'],
self.site.config['CATEGORY_PATH'][lang],
self.site.config['INDEX_FILE']] if _f]

def tag_path(self, name, lang):
Expand Down

0 comments on commit e90a68f

Please sign in to comment.