summaryrefslogtreecommitdiff
path: root/gerbonara/utils.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-06-21 14:17:08 +0200
committerjaseg <git@jaseg.de>2022-06-21 14:17:08 +0200
commit7bdbe66dc7caf3d27fd13b72a2603b7bca19762d (patch)
tree2fa0507a61b7acbdfa1fa39f2b70d9788e2d12f9 /gerbonara/utils.py
parent71e996e8749e26dcc1385b03603344dede891782 (diff)
downloadgerbonara-0.11.1.tar.gz
gerbonara-0.11.1.tar.bz2
gerbonara-0.11.1.zip
Fix zip import/export and bounds for empty boardsv0.11.1
Diffstat (limited to 'gerbonara/utils.py')
-rw-r--r--gerbonara/utils.py2
1 files changed, 1 insertions, 1 deletions
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