diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index 85eabdbe..8973788d 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -225,7 +225,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' ')