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:
kvid 2023-09-08 12:20:44 +02:00
parent f6c3a37563
commit a26f734b94

View File

@ -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)