Skip to content

Commit

Permalink
Implement change suggested by @kvid
Browse files Browse the repository at this point in the history
  • Loading branch information
formatc1702 committed Nov 12, 2020
1 parent 1a86331 commit 3d43bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wireviz/Harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -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' </td>')
Expand Down

0 comments on commit 3d43bc9

Please sign in to comment.