diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-01 21:58:24 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-01 21:58:24 +0100 |
commit | 5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0 (patch) | |
tree | d9a5b60c14fa09dd814ca3ef521928a40485526e /source | |
parent | Updated copyrights years. (diff) | |
download | newspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.tar.gz newspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.tar.bz2 newspipe-5d746e7a79ddb8a0b0c8a18d4b3f46ca903241f0.zip |
Fix function name in export_epub().
Diffstat (limited to 'source')
-rw-r--r-- | source/export.py | 2 |
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") |