install.py

This commit is contained in:
Paul Houser 2020-08-24 00:53:03 -07:00
parent 4604d29deb
commit 224215cd9a

View File

@ -68,6 +68,10 @@ def print_keys(dictionary):
if isinstance(dictionary[key], dict):
print_keys(dictionary[key])
def gen_list_indices(html_file, file_dict):
for key in file_dict:
print(key)
def gen_col_headers(html_file, file_dict):
for key in file_dict:
html_file.write("<li>\n")
@ -75,6 +79,7 @@ def gen_col_headers(html_file, file_dict):
html_file.write(" <ul>\n")
# generate list indices
gen_list_indices(html_file, file_dict)
html_file.write(" </ul>\n")
html_file.write("</li>\n")