diff --git a/router.py b/router.py index a2ec896..c8e970f 100644 --- a/router.py +++ b/router.py @@ -290,7 +290,8 @@ class Net(): for node in path: spath += [self.pcb.grid_to_space_point(node)] spaths += [spath] - print [self.radius * scale, self.via * scale, self.gap * scale, \ + print([self.radius * scale, self.via * scale, self.gap * scale, \ [(r * scale, g * scale, (x * scale, y * scale, z), \ [(cx * scale, cy * scale) for cx, cy in s]) for r, g, (x, y, z), s in self.terminals], \ - [[(x * scale, y * scale, z) for x, y, z in spath] for spath in spaths]] + [[(x * scale, y * scale, z) for x, y, z in spath] for spath in spaths]]) +