Add suffix to generated files
This commit is contained in:
parent
0aadd43e65
commit
bc6d07d7f5
|
@ -23,7 +23,7 @@ def genAll(srcFN = 'franconianNet.svg', tablesFN='colortables.json'):
|
||||||
|
|
||||||
for name in tables:
|
for name in tables:
|
||||||
repl = replaceColors(src , tables[name])
|
repl = replaceColors(src , tables[name])
|
||||||
with open(srcFN.split(".")[0]+"_"+name+".svg", "w") as fo:
|
with open("gen_"+srcFN.split(".")[0]+"_"+name+".svg", "w") as fo:
|
||||||
fo.write(repl)
|
fo.write(repl)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue