aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 21:22:33 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-09 21:22:33 +0100
commitcd403ee877f2121d8bd3454ac670df50e635cd81 (patch)
tree7480af27dee603385b95d6463ec26a5e8e4edf89 /pyaggr3g470r/views.py
parentIt is now possible to import OPML files. (diff)
downloadnewspipe-cd403ee877f2121d8bd3454ac670df50e635cd81.tar.gz
newspipe-cd403ee877f2121d8bd3454ac670df50e635cd81.tar.bz2
newspipe-cd403ee877f2121d8bd3454ac670df50e635cd81.zip
Improvements to the OPML importer.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index c8616d60..03ade91c 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -384,8 +384,8 @@ def management():
try:
utils.import_opml(g.user.email, opml_path)
flash("New feeds imported", "success")
- except:
- flash("Impossible to import the new feeds.", "danger")
+ except Exception as e:
+ flash("Impossible to import the new feeds."+str(e), "danger")
form = AddFeedForm()
bgstack15