Skip to content

Commit

Permalink
Update assembly.py
Browse files Browse the repository at this point in the history
change to TypeError
  • Loading branch information
marcomusy authored Jul 23, 2024
1 parent ff97d65 commit 95a646e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vedo/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __iadd__(self, obj):
if a:
try:
self.AddPart(a)
except AttributeError:
except TypeError:
self.AddPart(a.actor)
return self

Expand Down

0 comments on commit 95a646e

Please sign in to comment.