aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-12 19:10:38 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-12 19:10:38 +0200
commit882581abe066f16f14b7cc54776bb7985f2b34c6 (patch)
tree314d2c1420428d2153c33f64d5b3bba631816f58 /pyaggr3g470r/views.py
parentTrying the export to HTML option on Heroku (2). (diff)
downloadnewspipe-882581abe066f16f14b7cc54776bb7985f2b34c6.tar.gz
newspipe-882581abe066f16f14b7cc54776bb7985f2b34c6.tar.bz2
newspipe-882581abe066f16f14b7cc54776bb7985f2b34c6.zip
Trying the export to HTML option on Heroku (3).
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 3cd8afc5..9ce597e6 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -394,8 +394,9 @@ def export_articles():
Export all articles.
"""
user = User.query.filter(User.id == g.user.id).first()
+ archive_file, archive_file_name = export.export_html(user)
try:
- archive_file, archive_file_name = export.export_html(user.feeds)
+ archive_file, archive_file_name = export.export_html(user)
except:
flash("Error when exporting articles.", 'danger')
return redirect(url_for('management'))
bgstack15