mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 14:45:59 +08:00
Update AnnealAfterPrint.py
This commit is contained in:
parent
836a7cc2d1
commit
e39b1d8bb3
@ -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…
x
Reference in New Issue
Block a user