From 62a91ca8096a9a1d1f678424befaa18dad6ae2d8 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 1 May 2012 12:45:53 +0200 Subject: Bugfix in the epub export. --- source/pyAggr3g470r.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/pyAggr3g470r.py') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index fb20d95e..fe36e32f 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -1229,8 +1229,8 @@ class Root: pass section = ez_epub.Section() section.title = article["article_title"].decode('utf-8') - section.paragraphs = [utils.clear_string(article["article_description"]).decode('utf-8')] - ez_epub.makeBook(article["article_title"].decode('utf-8'), [feed["feed_title"].decode('utf-8')], [section], \ + section.paragraphs = [utils.clear_string(article["article_content"])] + ez_epub.makeBook(article["article_title"], [feed["feed_title"]], [section], \ os.path.normpath(folder) + "article.epub", lang='en-US', cover=None) return self.article(param) -- cgit