summaryrefslogtreecommitdiff
path: root/gerbonara/utils.py
diff options
context:
space:
mode:
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