mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Some style fixing, and added a test script to test for the major style violations.
This commit is contained in:
parent
4a965e04b4
commit
83c367cdf4
4 changed files with 21 additions and 15 deletions
|
@ -149,8 +149,7 @@ class PrinterConnection(SignalEmitter):
|
|||
def updateFirmware(self, file_name):
|
||||
self._firmware_file_name = file_name
|
||||
self._update_firmware_thread.start()
|
||||
|
||||
|
||||
|
||||
## Private connect function run by thread. Can be started by calling connect.
|
||||
def _connect(self):
|
||||
self._is_connecting = True
|
||||
|
@ -378,6 +377,7 @@ class PrinterConnection(SignalEmitter):
|
|||
self.sendCommand("M105 T%d" % self._temperature_requested_extruder_index)
|
||||
else:
|
||||
self.sendCommand("M105")
|
||||
|
||||
## Send next Gcode in the gcode list
|
||||
def _sendNextGcodeLine(self):
|
||||
if self._gcode_position >= len(self._gcode):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue