Cast to strings

main
Bob Mottram 2021-02-05 17:25:33 +00:00
parent ab2b2a46ca
commit 8aab9a76dc
1 changed files with 2 additions and 3 deletions

View File

@ -885,9 +885,8 @@ def htmlKeyboardNavigation(links: {}) -> str:
"""
htmlStr = '<div class="transparent">'
for title, url in links.items():
title = str(title)
htmlStr += '<label class="transparent">' + \
'<a href="' + url + '">' + \
title + '</a></label> | '
'<a href="' + str(url) + '">' + \
str(title) + '</a></label> | '
htmlStr += '</div>'
return htmlStr