From bb83f24d1aa421622da3fc0105609617760ced84 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 Jun 2015 17:43:44 +0200 Subject: Fix json serialization for hover icon --- chimere/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chimere/models.py b/chimere/models.py index 2469493..fdd1e4b 100644 --- a/chimere/models.py +++ b/chimere/models.py @@ -680,7 +680,7 @@ class Marker(GeographicItem): 'pk':self.id, 'name':self.name, 'icon_path':unicode(cat.icon.image), - 'icon_hover_path':cat.hover_icon.image \ + 'icon_hover_path':unicode(cat.hover_icon.image) \ if cat.hover_icon else '', 'category_name':cat.name}) try: -- cgit v1.2.3