Commits

Bruno Renié  committed 0c4440b

Fixed #1 -- Setting a float opacity could crash the map with a French django
installation.

  • Participants
  • Parent commits 82f578e

Comments (0)

Files changed (1)

File geoportal/utils.py

             'switcher_name': key.capitalize(),
             'name': LAYERS[key],
             'resource_name': LAYERS[key].split(':')[0],
-            'opacity': value,
+            'opacity': str(value),
         })
     return lyrs