mirror of
https://github.com/Paul-Houser/StartTree.git
synced 2025-02-20 09:30:47 +01:00
install.py
This commit is contained in:
parent
4604d29deb
commit
224215cd9a
@ -68,6 +68,10 @@ def print_keys(dictionary):
|
|||||||
if isinstance(dictionary[key], dict):
|
if isinstance(dictionary[key], dict):
|
||||||
print_keys(dictionary[key])
|
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):
|
def gen_col_headers(html_file, file_dict):
|
||||||
for key in file_dict:
|
for key in file_dict:
|
||||||
html_file.write("<li>\n")
|
html_file.write("<li>\n")
|
||||||
@ -75,6 +79,7 @@ def gen_col_headers(html_file, file_dict):
|
|||||||
html_file.write(" <ul>\n")
|
html_file.write(" <ul>\n")
|
||||||
|
|
||||||
# generate list indices
|
# generate list indices
|
||||||
|
gen_list_indices(html_file, file_dict)
|
||||||
|
|
||||||
html_file.write(" </ul>\n")
|
html_file.write(" </ul>\n")
|
||||||
html_file.write("</li>\n")
|
html_file.write("</li>\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user