aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-23 22:39:32 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-23 22:39:32 +0200
commitbcb58822eaa56fb5c41548431d3d8ad2e315ee86 (patch)
tree205a44f9e2f29a3a9c07597ccbde4c22fdecbbfe /pyaggr3g470r/views.py
parentA message is displayed to inform the user about authorized file extension. (diff)
downloadnewspipe-bcb58822eaa56fb5c41548431d3d8ad2e315ee86.tar.gz
newspipe-bcb58822eaa56fb5c41548431d3d8ad2e315ee86.tar.bz2
newspipe-bcb58822eaa56fb5c41548431d3d8ad2e315ee86.zip
This fixes #2.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index 1afcecb2..a00fcb2a 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -499,9 +499,8 @@ def management():
opml_path = os.path.join("./pyaggr3g470r/var/", data.filename)
data.save(opml_path)
try:
- nb, nb_already = utils.import_opml(g.user.email, opml_path)
- flash(str(nb) + " feeds imported (" + str(nb_already) + \
- " already in the database).", "success")
+ nb = utils.import_opml(g.user.email, opml_path)
+ flash(str(nb) + " feeds imported.", "success")
except Exception as e:
flash("Impossible to import the new feeds.", "danger")
bgstack15