mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 00:07:51 -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)
|
connection.connectionStateChanged.connect(self._onPrinterConnectionStateChanged)
|
||||||
|
|
||||||
def _onPrinterConnectionStateChanged(self, address):
|
def _onPrinterConnectionStateChanged(self, address):
|
||||||
print("_onPrinterConnectionStateChanged" , self._connections[address].isConnected())
|
|
||||||
if self._connections[address].isConnected():
|
if self._connections[address].isConnected():
|
||||||
self.getOutputDeviceManager().addOutputDevice(self._connections[address])
|
self.getOutputDeviceManager().addOutputDevice(self._connections[address])
|
||||||
else:
|
else:
|
||||||
|
@ -51,4 +50,3 @@ class WifiOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
|
||||||
elif state_change == ServiceStateChange.Removed:
|
elif state_change == ServiceStateChange.Removed:
|
||||||
info = zeroconf.get_service_info(service_type, name)
|
info = zeroconf.get_service_info(service_type, name)
|
||||||
address = '.'.join(map(lambda n: str(n), info.address))
|
address = '.'.join(map(lambda n: str(n), info.address))
|
||||||
print("Device disconnected: ", address)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue