add export file

This commit is contained in:
2026-04-03 18:30:52 +02:00
parent 04c28a851f
commit 9fa121cdce
3 changed files with 10 additions and 7 deletions
+1 -2
View File
@@ -486,8 +486,7 @@ def main() -> None:
config = Parsing.get_data_maze("config.txt")
amazing = AMazeIng(**config)
mlx.start(amazing)
with open("test.txt", "w") as output:
output.write(amazing.__str__())
amazing.export_maze()
except Exception as err:
print(err)
finally: