aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py4
1 files changed, 3 insertions, 1 deletions
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()
bgstack15