diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index af6d7761..b1add9bf 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -214,7 +214,7 @@ def create_graph(self) -> Graph: if colorstr: wireinfo.append(colorstr) if cable.wirelabels: - wireinfo.append(wirelabel if wirelabel else '') + wireinfo.append(wirelabel if wirelabel is not None else '') wirehtml.append(f' {":".join(wireinfo)}') wirehtml.append(f' ')