Skip to content

Commit e1b7879

Browse files
committed
Fixing format of index.html
1 parent 0a3e043 commit e1b7879

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/create_download_tracker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,14 @@ def _update_index_html(files, s3_client, dryrun=False):
5656
else:
5757
current_index_file = _load_local_index_file()
5858

59-
insertion_point = current_index_file.find('</ul>')
59+
insertion_point = current_index_file.find('</body>')
6060
current_text = current_index_file[:insertion_point]
6161
text_list = [current_text]
6262
for file in files:
6363
new_link = f"<a href='{file}'>{file}</a>"
6464
if new_link not in current_text:
6565
text_list.append(new_link)
66+
text_list.append('<br>')
6667

6768
text_list.append(current_index_file[insertion_point:])
6869
new_index = ''.join(text_list)

scripts/rdt-download-tracker/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44
</head>
55
<body>
66
<h1>Links</h1>
7-
<ul>
8-
</ul>
97
</body>
108
</html>

0 commit comments

Comments
 (0)