mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-15 02:13:27 -06:00
fix reversed get_neighbors on below
This commit is contained in:
@@ -29,4 +29,4 @@ def get_neighbors(array: List, index: int, distance: int = 2) -> Tuple[List, Lis
|
|||||||
top.append(array[top_index])
|
top.append(array[top_index])
|
||||||
if below_index < len(array):
|
if below_index < len(array):
|
||||||
below.append(array[below_index])
|
below.append(array[below_index])
|
||||||
return top[::-1], below[::-1]
|
return top[::-1], below
|
||||||
|
|||||||
Reference in New Issue
Block a user