Remove unnecessary check for length unit

This commit is contained in:
Daniel Rojas 2020-12-06 12:40:14 +01:00
parent d9b67e4567
commit e9292fbf03

View File

@ -233,9 +233,6 @@ class Cable:
self.connections = []
if self.length_unit is None: #Default wire length units to meters if left undeclared
self.length_unit = 'm'
if self.wirecount: # number of wires explicitly defined
if self.colors: # use custom color palette (partly or looped if needed)
pass