mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:25:59 +08:00
Code style
This commit is contained in:
parent
7b00d6879a
commit
5d52239201
@ -205,6 +205,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
|
||||
self._command_queue.put(command)
|
||||
else:
|
||||
self._sendCommand(command)
|
||||
|
||||
def _sendCommand(self, command: Union[str, bytes]):
|
||||
if self._serial is None or self._connection_state != ConnectionState.connected:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user