Probably redundant cast

main
Bob Mottram 2020-10-09 21:39:34 +01:00
parent 4a1bc53e59
commit 4117ab3a7b
1 changed files with 1 additions and 3 deletions

View File

@ -5253,9 +5253,7 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str:
"""
if not highlight:
return label
if not isinstance(label, str):
return label
return '*' + label + '*'
return '*' + str(label) + '*'
def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,