mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Append a \n to each saved line of gcode otherwise the whole file ends up as one line!
This commit is contained in:
parent
56e80bb518
commit
da1790fd37
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class FlavorParser:
|
|||
current_line = 0
|
||||
for line in stream.split("\n"):
|
||||
file_lines += 1
|
||||
gcode_list.append(line)
|
||||
gcode_list.append(line + "\n")
|
||||
if not self._is_layers_in_file and line[:len(self._layer_keyword)] == self._layer_keyword:
|
||||
self._is_layers_in_file = True
|
||||
# stream.seek(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue