aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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