From 5c932a6d083a300685cdfd5bb1acd1db25bb91af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonia=20P=C3=A9rez-Cerezo?= Date: Fri, 6 Sep 2024 23:46:09 +0200 Subject: [PATCH] remove whitespace --- scripts/umap-extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/umap-extractor.py b/scripts/umap-extractor.py index 3024f4d..19b8ae8 100755 --- a/scripts/umap-extractor.py +++ b/scripts/umap-extractor.py @@ -31,7 +31,7 @@ if "tilelayer" in properties and properties['tilelayer'] != {} : config["tilelayer"]["attribution"] = re.sub(r'\[\[([^|]+)\|([^|]+)\]\]', r'\2', config["tilelayer"]["attribution"]) else : config["tilelayer"] = { "attribution" : 'Map data © OpenStreetMap contributors', "url_template" : "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" } - + def normalize_name(name) : return name.replace("/", "_").replace("-","").replace(" ","").replace(".","")