mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Update AnnealAfterPrint.py
This commit is contained in:
parent
836a7cc2d1
commit
e39b1d8bb3
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ class AnnealAfterPrint(Script):
|
||||||
anneal_code = self.generateAnnealCode(anneal_bed_temp, anneal_chamber_temp, anneal_minutes, initial_beep, final_cooling_temp)
|
anneal_code = self.generateAnnealCode(anneal_bed_temp, anneal_chamber_temp, anneal_minutes, initial_beep, final_cooling_temp)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
end_of_gcode_index = data[-1].index(';End sof Gcode')
|
end_of_gcode_index = data[-1].index(';End of Gcode')
|
||||||
except ValueError:
|
except ValueError:
|
||||||
data[-1] += anneal_code + '\n'
|
data[-1] += anneal_code + '\n'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue