aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-01 21:58:24 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-01 21:58:24 +0100
commit5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0 (patch)
treed9a5b60c14fa09dd814ca3ef521928a40485526e
parentUpdated copyrights years. (diff)
downloadnewspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.tar.gz
newspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.tar.bz2
newspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.zip
Fix function name in export_epub().
-rw-r--r--source/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/export.py b/source/export.py
index 65041d21..6db69a56 100644
--- a/source/export.py
+++ b/source/export.py
@@ -145,7 +145,7 @@ def export_epub(mongo_db):
# directories already exists (not a problem)
pass
- for article in mongo_db.get_articles_from_collection(feed["feed_id"]):
+ for article in mongo_db.get_articles(feed_id=feed["feed_id"]):
name = article["article_date"].ctime().strip().replace(' ', '_')
name = os.path.normpath(folder + "/" + name + ".epub")
bgstack15