aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-12-30 22:03:35 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-12-30 22:03:35 +0100
commit1d1e71999fa03c348fcd132f241493007baabc39 (patch)
tree2d28d14b4922743ce04f42a3b288ba6c86f5bc1d
parentBugfix in export.py for export_txt(). (diff)
downloadnewspipe-1d1e71999fa03c348fcd132f241493007baabc39.tar.gz
newspipe-1d1e71999fa03c348fcd132f241493007baabc39.tar.bz2
newspipe-1d1e71999fa03c348fcd132f241493007baabc39.zip
Added a confirmation message after a successfull export of the database.
-rwxr-xr-xsource/pyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index 135cae52..4de23ee1 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -549,7 +549,8 @@ class pyAggr3g470r(object):
getattr(export, export_method)(self.mongo)
except Exception as e:
return self.error(e)
- return self.management()
+ tmpl = lookup.get_template("confirmation.html")
+ return tmpl.render(message="<p>Export successfully terminated.<br />Check the folder: <b>./pyaggr3g470r/source/var/export/</b>.</p>")
export.exposed = True
bgstack15