From 7bdbe66dc7caf3d27fd13b72a2603b7bca19762d Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 21 Jun 2022 14:17:08 +0200 Subject: Fix zip import/export and bounds for empty boards --- gerbonara/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gerbonara/utils.py') diff --git a/gerbonara/utils.py b/gerbonara/utils.py index 04d1e54..586232a 100644 --- a/gerbonara/utils.py +++ b/gerbonara/utils.py @@ -269,7 +269,7 @@ def sum_bounds(bounds, *, default=None): :rtype: tuple """ - bounds = iter(bounds) + bounds = iter([ b for b in bounds if b is not None ]) for (min_x, min_y), (max_x, max_y) in bounds: break -- cgit