aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-05-01 13:13:16 +0200
committercedricbonhomme <devnull@localhost>2012-05-01 13:13:16 +0200
commit93fff98d5ba071c478daf046c6c3efac5a0dea50 (patch)
tree28e8feb69c8258f65abd3a25ad2f91cccd6a2029 /source/pyAggr3g470r.py
parentOne line between each function. (diff)
downloadnewspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.tar.gz
newspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.tar.bz2
newspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.zip
Export tp webzine nearly OK.
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