Spaces:
Running
Running
Fix pattern border normalization
Browse files- space_app/board_utils.py +0 -3
space_app/board_utils.py
CHANGED
|
@@ -130,9 +130,6 @@ def normalize_pattern_board(board_ascii: str) -> str:
|
|
| 130 |
normalized: list[str] = [*clue_lines]
|
| 131 |
border_iter = iter(border_lines)
|
| 132 |
|
| 133 |
-
if border_lines:
|
| 134 |
-
normalized.append(next(border_iter))
|
| 135 |
-
|
| 136 |
for content in content_lines:
|
| 137 |
pieces = content.split("|")
|
| 138 |
if len(pieces) < 3:
|
|
|
|
| 130 |
normalized: list[str] = [*clue_lines]
|
| 131 |
border_iter = iter(border_lines)
|
| 132 |
|
|
|
|
|
|
|
|
|
|
| 133 |
for content in content_lines:
|
| 134 |
pieces = content.split("|")
|
| 135 |
if len(pieces) < 3:
|