bugfix
This commit is contained in:
parent
a5072f4a4d
commit
357bc857ab
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ config["tilelayer"] = 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"])
|
||||||
|
|
||||||
def normalize_name(name) :
|
def normalize_name(name) :
|
||||||
return name.replace("/", "_").replace("-","").replace(" ","")
|
return name.replace("/", "_").replace("-","").replace(" ","").replace(".","")
|
||||||
|
|
||||||
datadir = os.path.join(outdir,"data")
|
datadir = os.path.join(outdir,"data")
|
||||||
if not os.path.exists(datadir) :
|
if not os.path.exists(datadir) :
|
||||||
|
|
Loading…
Reference in a new issue