mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Code style
This commit is contained in:
parent
7b00d6879a
commit
5d52239201
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||||
self._command_queue.put(command)
|
self._command_queue.put(command)
|
||||||
else:
|
else:
|
||||||
self._sendCommand(command)
|
self._sendCommand(command)
|
||||||
|
|
||||||
def _sendCommand(self, command: Union[str, bytes]):
|
def _sendCommand(self, command: Union[str, bytes]):
|
||||||
if self._serial is None or self._connection_state != ConnectionState.connected:
|
if self._serial is None or self._connection_state != ConnectionState.connected:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue