fix error in error-handling
[imago.git] / src / gridf3.py
index 92f07c4..4f2a1e3 100644 (file)
@@ -105,7 +105,7 @@ def gen_corners(d1, d2):
             c3 = [p for p in d1.points if p in c2.l2.points][0]
             c4 = [p for p in d2.points if p in c3.l1.points][0]
         except IndexError:
-            pass
+            continue
             # there is not a corresponding intersection
             # TODO create an intersection?
         try: