From d17905805901285d75287a812bd37955b2c75f2d Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 20 Jan 2019 11:11:32 +0100 Subject: [PATCH] chg: [tools] replace function fixed --- tools/website-genlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/website-genlist.py b/tools/website-genlist.py index ae5a46a..4b5577c 100644 --- a/tools/website-genlist.py +++ b/tools/website-genlist.py @@ -6,4 +6,4 @@ with open(filename) as fp: t = json.load(fp) for taxo in sorted(t['taxonomies'], key=lambda k: k['name']): - print ("[{}](https://github.com/MISP/misp-taxonomies/tree/master/{}):\n: {}[HTML](https://www.misp-project.org/taxonomies.html#_{})\n".format(taxo['name'], taxo['name'], taxo['description'], re.sub(r'_', '-',taxo['name']))) + print ("[{}](https://github.com/MISP/misp-taxonomies/tree/master/{}):\n: {}[HTML](https://www.misp-project.org/taxonomies.html#_{})\n".format(taxo['name'], taxo['name'], taxo['description'], re.sub(r'-', '_',taxo['name'])))