Skip to content

Commit

Permalink
Update walker_class.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Nov 5, 2024
1 parent 89c2ac7 commit c89537d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kyu_3/line_safari_is_that_a_line/walker_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ def position_plus(self, previous_position) -> None:

if self.position == previous_position == '+' and \
self.__position['col'] == self.__position['prev_col']:
self.__direction['left, '] = self.__test_left()
self.__direction['right'] = self.__test_right()
self.__direction['left, '] = self.__test_left()
self.__direction['right'] = self.__test_right()

if self.position == previous_position == '+' and \
self.__position['row'] == self.__position['prev_row']:
self.__direction['up'] = self.__test_up()
self.__direction['down'] = self.__test_down()
self.__direction['up'] = self.__test_up()
self.__direction['down'] = self.__test_down()

def position_minus(self, previous_position) -> None:
"""
Expand Down

0 comments on commit c89537d

Please sign in to comment.