Fix syntax error in router

This commit is contained in:
Matt Guthaus 2019-08-22 13:46:32 -07:00
parent afaa946f9c
commit 560d768010
1 changed files with 2 additions and 2 deletions

View File

@ -470,9 +470,9 @@ class pin_group:
# Now, make sure each pin touches an enclosure. If not, add another (diagonal) connector.
# This could only happen when there was no enclosure in any cardinal direction from a pin
if not self.overlap_any_shape(self.pins, self.enclosures):
connector = self.find_smallest_connector(pin_list, self.enclosures)
connector = self.find_smallest_connector(self.pins, self.enclosures)
if connector==None:
debug.error("Could not find a connector for {} with {}".format(pin_list, self.enclosures))
debug.error("Could not find a connector for {} with {}".format(self.pins, self.enclosures))
self.router.write_debug_gds("no_connector.gds")
self.enclosures.append(connector)