Skip to content

Commit

Permalink
Merge branch 'workplane_accepts_cq_plane' of https://github.com/fusio…
Browse files Browse the repository at this point in the history
…n-energy/paramak into workplane_accepts_cq_plane
  • Loading branch information
RemDelaporteMathurin committed Sep 13, 2021
2 parents 413f039 + cc57303 commit 6735cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paramak/shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def workplane(self, value):
if not isinstance(value, Plane):
if value in acceptable_values:
self._workplane = value
elif type(value) is str:
elif isinstance(value, str):
raise ValueError(
"Shape.workplane must be one of ",
acceptable_values,
Expand Down

0 comments on commit 6735cc1

Please sign in to comment.