Update src/wireviz/DataClasses.py as requested in review (#264)
No need to reference github issue in the code. Co-authored-by: Daniel Rojas <github@danielrojas.net>
This commit is contained in:
parent
f6c3a37563
commit
a26f734b94
@ -211,7 +211,6 @@ class Connector:
|
|||||||
for pin in loop:
|
for pin in loop:
|
||||||
if pin not in self.pins:
|
if pin not in self.pins:
|
||||||
raise Exception(f'Unknown loop pin "{pin}" for connector "{self.name}"!')
|
raise Exception(f'Unknown loop pin "{pin}" for connector "{self.name}"!')
|
||||||
# Resolve https://github.com/formatc1702/WireViz/issues/263
|
|
||||||
# Make sure loop connected pins are not hidden.
|
# Make sure loop connected pins are not hidden.
|
||||||
self.activate_pin(pin)
|
self.activate_pin(pin)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user