aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-05-01 12:45:53 +0200
committercedricbonhomme <devnull@localhost>2012-05-01 12:45:53 +0200
commit62a91ca8096a9a1d1f678424befaa18dad6ae2d8 (patch)
treea6beda89aecba19b3b2a04f0c4634d758351a9aa /source
parentMinor bugfix: links to previous and following articles were wrong. (diff)
downloadnewspipe-62a91ca8096a9a1d1f678424befaa18dad6ae2d8.tar.gz
newspipe-62a91ca8096a9a1d1f678424befaa18dad6ae2d8.tar.bz2
newspipe-62a91ca8096a9a1d1f678424befaa18dad6ae2d8.zip
Bugfix in the epub export.
Diffstat (limited to 'source')
-rwxr-xr-xsource/pyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
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)
bgstack15