Skip to content
Snippets Groups Projects
Commit 28573f06 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Fixed reading layouts when they have an empty line at the end.

parent a7e624c1
No related branches found
No related tags found
1 merge request!50Resolve "Fix reading in layouts, ignore empty lines at file end"
Pipeline #45625 passed
......@@ -403,6 +403,8 @@ class Environment:
for line in lines:
line = line.replace("\n", "").replace(" ", "") # remove newline char
if line == "":
continue
current_x: float = starting_at
grid_line = []
for character in line:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment