mirror of https://gitlab.com/bashrc2/epicyon
Probably redundant cast
parent
4a1bc53e59
commit
4117ab3a7b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue