Skip to content

Commit

Permalink
changed setter
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverweissl committed Mar 20, 2024
1 parent 258cce1 commit e1662a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modular_robot/revolve2/modular_robot/body/_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ def color(self) -> Color:
"""
return self._color

def set_color(self, color: Color) -> None:
@color.setter
def color(self, color: Color) -> None:
"""
Set the color of a module.
Expand Down

0 comments on commit e1662a2

Please sign in to comment.