From 93fff98d5ba071c478daf046c6c3efac5a0dea50 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 1 May 2012 13:13:16 +0200 Subject: Export tp webzine nearly OK. --- source/pyAggr3g470r.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/pyAggr3g470r.py') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 577b3451..a135debd 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -1171,9 +1171,11 @@ class Root: Export articles currently loaded from the MongoDB database with the appropriate function of the 'export' module. """ + getattr(export, export_method)(self.mongo) try: - getattr(export, export_method)(self.mongo.get_all_articles()) + getattr(export, export_method)(self.mongo) except Exception, e: + print e return self.error_page(e) return self.management() -- cgit