Skip to content

Commit

Permalink
fix: attr error when using self.previous_row()
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed Nov 14, 2024
1 parent ad5d6aa commit ac8795d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightbulb/components/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def next_row(self) -> t_ex.Self:

def previous_row(self) -> t_ex.Self:
"""Move the current row pointer back to the previous row."""
self.__current_row = max(0, self.__current_row - 1)
self.__current_row = max(0, self._current_row - 1)
return self

def add(self, component: BaseComponentT) -> BaseComponentT:
Expand Down

0 comments on commit ac8795d

Please sign in to comment.