From b317f7a3a017c42112fd04213464ac549fa18f4d Mon Sep 17 00:00:00 2001 From: David GAILLETON Date: Fri, 27 Mar 2026 21:42:14 +0100 Subject: [PATCH] FIX(path render): path render was called twice --- a_maze_ing.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/a_maze_ing.py b/a_maze_ing.py index 9e0ba0d..8175b2e 100644 --- a/a_maze_ing.py +++ b/a_maze_ing.py @@ -199,11 +199,7 @@ class MazeMLX: # time.sleep(0.01) except StopIteration: if self.path_printer is not None: - try: - next(self.path_printer) - time.sleep(0.03) - except StopIteration: - pass + self.render_path() def main() -> None: