From bc6d07d7f5ce78ec32c4685dcbdf36f127c9c547 Mon Sep 17 00:00:00 2001 From: legion Date: Sun, 13 Dec 2020 11:52:34 +0100 Subject: [PATCH] Add suffix to generated files --- static/logoGen/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/logoGen/generate.py b/static/logoGen/generate.py index 6addf1b..8b8d312 100644 --- a/static/logoGen/generate.py +++ b/static/logoGen/generate.py @@ -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__":