diff --git a/controldeck.py b/controldeck.py index 5ad4bff..24a4d08 100644 --- a/controldeck.py +++ b/controldeck.py @@ -224,7 +224,7 @@ def application(request): tmp += tmp_svg except Exception as e: print(f"[Error SVG]: {e}") - elif 'icon' in j and j['icon'] is not None: + elif 'icon' in j and j['icon'] != '': Button(inner_html=f"", style = color_bg + color_fg, command=j['command'], a=eval(var))