Skip to content

Commit

Permalink
fix #1792 -- make Unicode slugs work again
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 7, 2015
1 parent c1d84a9 commit 2b43c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/plugins/task/posts.py
Expand Up @@ -66,7 +66,7 @@ def tl_ch():
'basename': self.name,
'name': 'timeline_changes',
'actions': [tl_ch],
'uptodate': [utils.config_changed({1: kw['timeline']})],
#'uptodate': [utils.config_changed({1: kw['timeline']})],
}

for lang in kw["translations"]:
Expand Down
2 changes: 1 addition & 1 deletion nikola/post.py
Expand Up @@ -243,7 +243,7 @@ def __repr__(self):
if vv:
sub_meta[kk] = vv
m.update(utils.unicode_str(json.dumps(clean_meta, cls=utils.CustomEncoder, sort_keys=True)).encode('utf-8'))
return '<Post: {0} {1}>'.format(self.source_path, m.hexdigest())
return '<Post: {0!r} {1}>'.format(self.source_path, m.hexdigest())

def _has_pretty_url(self, lang):
if self.pretty_urls and \
Expand Down

0 comments on commit 2b43c49

Please sign in to comment.