소스 검색

- 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: