remove whitespace
This commit is contained in:
parent
f413db0fac
commit
5c932a6d08
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if "tilelayer" in properties and properties['tilelayer'] != {} :
|
||||||
config["tilelayer"]["attribution"] = re.sub(r'\[\[([^|]+)\|([^|]+)\]\]', r'<a href="\1" >\2</a>', config["tilelayer"]["attribution"])
|
config["tilelayer"]["attribution"] = re.sub(r'\[\[([^|]+)\|([^|]+)\]\]', r'<a href="\1" >\2</a>', config["tilelayer"]["attribution"])
|
||||||
else :
|
else :
|
||||||
config["tilelayer"] = { "attribution" : 'Map data © <a href="http://osm.org/copyright" >OpenStreetMap contributors</a>', "url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }
|
config["tilelayer"] = { "attribution" : 'Map data © <a href="http://osm.org/copyright" >OpenStreetMap contributors</a>', "url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" }
|
||||||
|
|
||||||
def normalize_name(name) :
|
def normalize_name(name) :
|
||||||
return name.replace("/", "_").replace("-","").replace(" ","").replace(".","")
|
return name.replace("/", "_").replace("-","").replace(" ","").replace(".","")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue