From f2175cdb5691549bae4cb8fc471c32ab4a6f9182 Mon Sep 17 00:00:00 2001 From: jebba Date: Sat, 15 Jan 2022 01:18:14 -0700 Subject: [PATCH] py3 print... --- router.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]]) +