diff options
author | cedricbonhomme <devnull@localhost> | 2012-05-01 13:13:16 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-05-01 13:13:16 +0200 |
commit | 93fff98d5ba071c478daf046c6c3efac5a0dea50 (patch) | |
tree | 28e8feb69c8258f65abd3a25ad2f91cccd6a2029 /source/pyAggr3g470r.py | |
parent | One line between each function. (diff) | |
download | newspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.tar.gz newspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.tar.bz2 newspipe-93fff98d5ba071c478daf046c6c3efac5a0dea50.zip |
Export tp webzine nearly OK.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 4 |
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() |