Skip to content
Permalink
Browse files
Fix #3040 -- fix RSS_PATH/translatable setting rebuild issues
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent 2d5dae3 commit 987f18610fb76545d0ca4d705e6f6dd976445949
Showing with 2 additions and 1 deletion.
  1. +1 −0 nikola/nikola.py
  2. +1 −1 nikola/utils.py
@@ -678,6 +678,7 @@ def __init__(self, **config):
'posts_section_name',
'posts_section_title',
'front_index_header',
'rss_path',
)
# WARNING: navigation_links SHOULD NOT be added to the list above.
# Themes ask for [lang] there and we should provide it.
@@ -361,7 +361,7 @@ def __unicode__(self):

def __repr__(self):
"""Provide a representation for programmers."""
return '<TranslatableSetting: {0!r}>'.format(self.name)
return '<TranslatableSetting: {0!r} = {1!r}>'.format(self.name, self._inp)

def format(self, *args, **kwargs):
"""Format ALL the values in the setting the same way."""

0 comments on commit 987f186

Please sign in to comment.