Explorar o código

- hopefully this will solve the conflict

Marius Stanciu %!s(int64=7) %!d(string=hai) anos
pai
achega
d8ea4a268c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FlatCAMObj.py

+ 1 - 1
FlatCAMObj.py

@@ -519,7 +519,7 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
                 elif type(geom) is Polygon:
                     geom = Polygon(geom.exterior.coords[::-1], geom.interiors)
                 else:
-                    str("Unexpected Geometry")
+                    raise str("Unexpected Geometry")
             return geom
 
         if combine: