functional install.py completed

This commit is contained in:
Paul Houser 2020-08-24 14:10:37 -07:00
parent 3a5db78e88
commit 40ba3abed4

View File

@ -76,7 +76,12 @@ def print_keys(dictionary):
def gen_list_indices(html_file, file_dict): def gen_list_indices(html_file, file_dict):
for key in file_dict: for key in file_dict:
print() value = file_dict[key]
print(key + "->" + str(value))
if not isinstance(value, list):
html_file.write("<li><a href=\"" + value + "\">" + key + "</a></li>")
else:
html_file.write("<li><a href=\"" + value[0] + "\">" + value[1] + "</a></li>")
def gen_col_headers(html_file, file_dict): def gen_col_headers(html_file, file_dict):
for key in file_dict: for key in file_dict: