mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Removed debug prints
CURA-49
This commit is contained in:
parent
ca502705c2
commit
69a9ef4a64
1 changed files with 0 additions and 2 deletions
|
@ -31,7 +31,6 @@ class WifiOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
|
|||
connection.connectionStateChanged.connect(self._onPrinterConnectionStateChanged)
|
||||
|
||||
def _onPrinterConnectionStateChanged(self, address):
|
||||
print("_onPrinterConnectionStateChanged" , self._connections[address].isConnected())
|
||||
if self._connections[address].isConnected():
|
||||
self.getOutputDeviceManager().addOutputDevice(self._connections[address])
|
||||
else:
|
||||
|
@ -51,4 +50,3 @@ class WifiOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
|
|||
elif state_change == ServiceStateChange.Removed:
|
||||
info = zeroconf.get_service_info(service_type, name)
|
||||
address = '.'.join(map(lambda n: str(n), info.address))
|
||||
print("Device disconnected: ", address)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue