add message when ft logo not display

This commit is contained in:
2026-04-03 14:47:34 +02:00
parent 11947db62f
commit 5022cfe020
3 changed files with 10 additions and 1 deletions
+2
View File
@@ -39,6 +39,8 @@ class AMazeIng(BaseModel):
raise ValueError("Exit coordinates exceed the maze size")
if self.entry == self.exit:
raise ValueError("Entry and Exit coordinates cant be the same")
if self.width <= 10 or self.height <= 10:
print("Height or width to low for disply forty two logo")
return self
def generate(self) -> Generator[Maze, None, None]: