diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2016-01-04 02:07:07 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2016-01-04 02:07:07 +0100 |
commit | 89c4baf537a590dbe80c5f6a4c20f202c63ebb15 (patch) | |
tree | bb53416f4299bcc0d7457acea325740464c2b68c | |
parent | 8acc204d20d97b6cf909d51afd0d4089bb86e132 (diff) | |
download | Chimère-89c4baf537a590dbe80c5f6a4c20f202c63ebb15.tar.bz2 Chimère-89c4baf537a590dbe80c5f6a4c20f202c63ebb15.zip |
Fix XHTML importer when no description is provided
-rw-r--r-- | chimere/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index 4944d73..8066255 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -1197,7 +1197,7 @@ class HtmlXsltManager(ImportManager): item['lat']) else: dct['point'] = self.importer_instance.default_localisation - dct['description'] = item['description'] + dct['description'] = item.get('description', '') if 'date' in item: dct.update(self.parse_date(item['date'])) key = item['key'] |