diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-30 22:03:35 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-30 22:03:35 +0100 |
commit | 1d1e71999fa03c348fcd132f241493007baabc39 (patch) | |
tree | 2d28d14b4922743ce04f42a3b288ba6c86f5bc1d /source/pyAggr3g470r.py | |
parent | Bugfix in export.py for export_txt(). (diff) | |
download | newspipe-1d1e71999fa03c348fcd132f241493007baabc39.tar.gz newspipe-1d1e71999fa03c348fcd132f241493007baabc39.tar.bz2 newspipe-1d1e71999fa03c348fcd132f241493007baabc39.zip |
Added a confirmation message after a successfull export of the database.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 3 |
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 |