From b59767fc8b80d3feb32856a2aa3f6a5a10290b63 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 8 Aug 2014 20:52:42 +0400 Subject: [PATCH] Partially revert the previous patch --- reindex_blog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reindex_blog.py b/reindex_blog.py index b1bf4c6..33e9077 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -551,6 +551,8 @@ else: items = [] for item in tuple(reversed(all_titles_tags))[:10]: year, month, day, file, title, lead, tags = item + lead = lead.decode('koi8-r').encode('utf-8') + title = title.decode('koi8-r').encode('utf-8') url_path = "%s/%s/%s/%s" % (year, month, day, file) item = NewsItem( "%s-%s-%s" % (year, month, day), -- 2.39.5