Code cleanup

This commit is contained in:
James Campbell
2026-08-01 12:34:46 -04:00
parent f29d8c953c
commit a17a68a07e
4 changed files with 0 additions and 8 deletions

View File

@@ -39,8 +39,6 @@ class Level:
rows = data.get("map", "").splitlines()
# Strip a leading blank line from block-scalar formatting, keep shape.
rows = [r for r in rows if r.strip("\n") != "" or True]
rows = [r.rstrip("\n") for r in rows]
if rows and rows[0] == "":
rows = rows[1:]