Add suffix to generated files

This commit is contained in:
legion 2020-12-13 11:52:34 +01:00
parent 0aadd43e65
commit bc6d07d7f5
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def genAll(srcFN = 'franconianNet.svg', tablesFN='colortables.json'):
for name in tables:
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)
if __name__ == "__main__":