From 9c1777bda6b520b09d7d584021c6ee23b3d72f8b Mon Sep 17 00:00:00 2001 From: Alexandre Saunier Date: Wed, 14 Aug 2013 18:23:05 +0200 Subject: [PATCH] Fix encoding problem with icon path --- c2cgeoportal/views/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cgeoportal/views/entry.py b/c2cgeoportal/views/entry.py index 9aca9e90b2..495ad5b202 100644 --- a/c2cgeoportal/views/entry.py +++ b/c2cgeoportal/views/entry.py @@ -133,7 +133,7 @@ def _get_child_layers_info(self, layer): def _getIconPath(self, icon): if not icon: return None # pragma: no cover - icon = str(icon) + icon = unicode(icon) # test full URL if not icon[0:4] == 'http': try: