mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
docstring to output file function
This commit is contained in:
@@ -67,6 +67,7 @@ class AMazeIng(BaseModel):
|
||||
return self.solver.solve(self.maze, self.height, self.width)
|
||||
|
||||
def export_maze(self) -> None:
|
||||
"""Export maze, entry, exit and resolved path in output_file"""
|
||||
with open(self.output_file, "w") as file:
|
||||
file.write(self.__str__())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user