Explorar el Código

- hopefully this will solve the conflict

Marius Stanciu hace 7 años
padre
commit
d8ea4a268c
Se han modificado 1 ficheros con 1 adiciones y 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: