From 89c4baf537a590dbe80c5f6a4c20f202c63ebb15 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 4 Jan 2016 02:07:07 +0100 Subject: Fix XHTML importer when no description is provided --- chimere/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- cgit v1.2.3