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 14, 2020
1 parent af2ea5e commit 0ae5b98
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 @@ -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' </td>')
Expand Down

0 comments on commit 0ae5b98

Please sign in to comment.