diff --git a/webinterface.py b/webinterface.py index ab08dc8a..f3d513f3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5253,6 +5253,8 @@ def htmlHighlightLabel(label: str, highlight: bool) -> str: """ if not highlight: return label + if not isinstance(label, str): + return label return '*' + label + '*'