diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-06-16 17:43:44 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-06-16 17:43:44 +0200 |
| commit | bb83f24d1aa421622da3fc0105609617760ced84 (patch) | |
| tree | 4bbdaa49b25314074eea2c09a4a8da72e20adeee /chimere/models.py | |
| parent | 18e65759bb7c9c8d9f2c264f9551e77c767ce571 (diff) | |
| download | Chimère-bb83f24d1aa421622da3fc0105609617760ced84.tar.bz2 Chimère-bb83f24d1aa421622da3fc0105609617760ced84.zip | |
Fix json serialization for hover icon
Diffstat (limited to 'chimere/models.py')
| -rw-r--r-- | chimere/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
