From: Youness Alaoui Date: Mon, 7 Dec 2015 19:55:42 +0000 (-0500) Subject: Fix the change toolhead command when cooling down X-Git-Tag: lulzbot-18.03~10 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6217c4658c0644c6a2d7292aa6e8098fc8692d91;p=cura.git Fix the change toolhead command when cooling down --- diff --git a/Cura/util/printerConnection/serialConnection.py b/Cura/util/printerConnection/serialConnection.py index a3352882..d70d0070 100644 --- a/Cura/util/printerConnection/serialConnection.py +++ b/Cura/util/printerConnection/serialConnection.py @@ -104,7 +104,7 @@ class serialConnection(printerConnectionBase.printerConnectionBase): def coolDown(self): cooldown_toolhead = "M104 S0" for i in range(0,3): - change_toolhead = "T%d".format(i) + change_toolhead = "T{}".format(i) self.sendCommand(change_toolhead) self.sendCommand(cooldown_toolhead) self.sendCommand("M140 S0") #Bed