Преглед изворни кода

- hopefully this will solve the conflict

Marius Stanciu пре 7 година
родитељ
комит
d8ea4a268c
1 измењених фајлова са 1 додато и 1 уклоњено
  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: