Skip to content

Commit 13b0548

Browse files
committed
Add a "Rustler" image to HTML page credit (Fixes #24)
1 parent 1efe533 commit 13b0548

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

main.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def check_URL_mask(URL_mask):
5858
return f"{error_prefix}Sequence definition missing hyphen."
5959
# test whether an interval is defined
6060
elif ";" in each_def:
61-
# test that interval is specified and is an integer
61+
# test that interval is specified and is anq = (Appointment
6262
range_def, stride = each_def.split(";")
6363
try:
6464
int(stride)
@@ -227,9 +227,12 @@ def get_HTML_file(URL_mask, targetfile=None, thumbsize="16%", hide_missing=False
227227
else:
228228
list_of_link_elements += f"{link}</a><br>\n" # link text
229229

230-
credit = "<br>This page was generated by "
230+
credit = "<br><i>This page was generated by &nbsp; "
231231
credit += "<a href='https://github.com/therden/sequential-links-rustler'>"
232-
credit += "<i>Sequential Links Rustler</i></a>"
232+
credit += "<img src='https://raw.githubusercontent.com/therden/sequential-links-rustler/main/assets/logo.png' "
233+
credit += "style='width: 40px; top:25px'><br></a>"
234+
credit += "the <a href='https://github.com/therden/sequential-links-rustler'>"
235+
credit += "Sequential Links Rustler</a>."
233236

234237
page_bottom = f"<br>\n<i>{credit}</i>\n{display_imgs_script}\n</BODY>\n</HTML>"
235238

0 commit comments

Comments
 (0)