mirror of https://gitlab.com/bashrc2/epicyon
Cast to strings
parent
ab2b2a46ca
commit
8aab9a76dc
|
@ -885,9 +885,8 @@ def htmlKeyboardNavigation(links: {}) -> str:
|
||||||
"""
|
"""
|
||||||
htmlStr = '<div class="transparent">'
|
htmlStr = '<div class="transparent">'
|
||||||
for title, url in links.items():
|
for title, url in links.items():
|
||||||
title = str(title)
|
|
||||||
htmlStr += '<label class="transparent">' + \
|
htmlStr += '<label class="transparent">' + \
|
||||||
'<a href="' + url + '">' + \
|
'<a href="' + str(url) + '">' + \
|
||||||
title + '</a></label> | '
|
str(title) + '</a></label> | '
|
||||||
htmlStr += '</div>'
|
htmlStr += '</div>'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
Loading…
Reference in New Issue