aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-23 23:16:49 +0100
committercedricbonhomme <devnull@localhost>2010-11-23 23:16:49 +0100
commitae2061481bc92c71cb4513a83595a4daf192fd52 (patch)
tree69282c54f4a1afd194608dea17c34f00a6439336
parentUpdated README. (diff)
downloadnewspipe-ae2061481bc92c71cb4513a83595a4daf192fd52.tar.gz
newspipe-ae2061481bc92c71cb4513a83595a4daf192fd52.tar.bz2
newspipe-ae2061481bc92c71cb4513a83595a4daf192fd52.zip
Added return to epub() function.
-rwxr-xr-xpyAggr3g470r.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 610b69b4..9e7f1860 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -491,7 +491,7 @@ class Root:
(article[6], article[6])
html += """<br />\n<a href="/plain_text/%s:%s">Plain text</a>\n""" % \
(feed_id, article_id)
- html += """\n<a href="/epub/%s:%s">Export to epub</a>\n""" % \
+ html += """ - <a href="/epub/%s:%s">Export to epub</a>\n""" % \
(feed_id, article_id)
html += """<br />\n<a href="%s">Complete story</a>\n<br />\n""" % \
(article[3].encode('utf-8'),)
@@ -1222,7 +1222,7 @@ class Root:
ez_epub.makeBook(article[2], [self.feeds[feed_id][3]], [section], \
os.path.normpath(folder + "article"), lang='en-US', cover=None)
break
-
+ return self.description(param)
epub.exposed = True
bgstack15