mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-04 15:05:12 +08:00
Removed some stray prints
This commit is contained in:
parent
4de4273966
commit
c6724fcb94
@ -35,7 +35,6 @@ class USBPrinterManager(SignalEmitter,PluginObject):
|
|||||||
def _updateConnectionList(self):
|
def _updateConnectionList(self):
|
||||||
while True:
|
while True:
|
||||||
temp_serial_port_list = self.getSerialPortList(only_list_usb = True)
|
temp_serial_port_list = self.getSerialPortList(only_list_usb = True)
|
||||||
print(temp_serial_port_list)
|
|
||||||
if temp_serial_port_list != self._serial_port_list: # Something changed about the list since we last changed something.
|
if temp_serial_port_list != self._serial_port_list: # Something changed about the list since we last changed something.
|
||||||
disconnected_ports = [port for port in self._serial_port_list if port not in temp_serial_port_list ]
|
disconnected_ports = [port for port in self._serial_port_list if port not in temp_serial_port_list ]
|
||||||
self._serial_port_list = temp_serial_port_list
|
self._serial_port_list = temp_serial_port_list
|
||||||
@ -52,9 +51,7 @@ class USBPrinterManager(SignalEmitter,PluginObject):
|
|||||||
|
|
||||||
## Attempt to connect with all possible connections.
|
## Attempt to connect with all possible connections.
|
||||||
def connectAllConnections(self):
|
def connectAllConnections(self):
|
||||||
print("DERP DERP")
|
|
||||||
for connection in self._printer_connections:
|
for connection in self._printer_connections:
|
||||||
print("connection ",connection)
|
|
||||||
connection.connect()
|
connection.connect()
|
||||||
|
|
||||||
## send gcode to printer and start printing
|
## send gcode to printer and start printing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user