Explorar o código

[core] Fix for wrong quotes on the default Leaflet conf properties

Enrico Berti %!s(int64=10) %!d(string=hai) anos
pai
achega
03ade20
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -279,7 +279,7 @@ LEAFLET_TILE_LAYER_ATTRIBUTION = Config(
   key="leaflet_tile_layer_attribution",
   help=_("The copyright message for the specified Leaflet maps Tile Layer"),
   type=coerce_str_lowercase,
-  default="&copy; <a href='http://osm.org/copyright'>OpenStreetMap</a> contributors")
+  default='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors')
 
 POLL_ENABLED = Config(
   key="poll_enabled",