mirror of
https://github.com/Paul-Houser/StartTree.git
synced 2024-11-21 23:13:06 +01:00
functional install.py completed
This commit is contained in:
parent
3a5db78e88
commit
40ba3abed4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user