fixed bug with duplicate keys

This commit is contained in:
Paul Houser 2020-08-24 15:13:14 -07:00
parent 9a78049525
commit 22d7b4ce73

View File

@ -56,7 +56,7 @@ def gen_col_headers(html_file, file_dict):
def gen_columns(html_file, file_dict):
for key in file_dict:
if key == "tree":
if key.split("_")[0] == "tree":
html_file.write("<div class=\"column\">\n")
html_file.write(" <div class=\"tree\">\n")
html_file.write(" <h1>.</h1>\n")