mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added break from loop
This commit is contained in:
parent
cfed67076e
commit
4f8c4be34e
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ class CreateThumbnail(Script):
|
|||
line_index = lines.index(line)
|
||||
insert_index = line_index + 1
|
||||
lines[insert_index:insert_index] = snapshot_gcode
|
||||
break
|
||||
|
||||
final_lines = "\n".join(lines)
|
||||
data[layer_index] = final_lines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue