From b7f49b043cef4c882ae0e3ee12ce3568e3f58dc0 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Thu, 21 Oct 2021 12:09:28 +0200 Subject: [PATCH] Make variable name more expressive --- src/wireviz/Harness.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wireviz/Harness.py b/src/wireviz/Harness.py index d80efd4..a3d8e41 100644 --- a/src/wireviz/Harness.py +++ b/src/wireviz/Harness.py @@ -175,12 +175,12 @@ class Harness: # determine if there are double- or triple-colored wires in the harness; # if so, pad single-color wires to make all wires of equal thickness - multicolor_wires = [ + wire_is_multicolor = [ len(wire.color) > 1 for cable in self.cables.values() for wire in cable.wire_objects ] - if any(multicolor_wires): + if any(wire_is_multicolor): wireviz.wv_colors.padding_amount = 3 else: wireviz.wv_colors.padding_amount = 1