Zero conf browser now uses stored zeroconf obj

CURA-49
This commit is contained in:
Jaime van Kessel 2016-04-19 09:51:32 +02:00
parent 0ad1c1a3a7
commit f488d8eb28

View file

@ -21,9 +21,9 @@ class WifiOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
## Start looking for devices on network.
def start(self):
self._browser = ServiceBrowser(Zeroconf(), u'_ultimaker._tcp.local.', [self._onServiceChanged])
self._browser = ServiceBrowser(self._zero_conf, u'_ultimaker._tcp.local.', [self._onServiceChanged])
## Stop looking for devices on network.
## Stop looking for devices on network.s
def stop(self):
self._zero_conf.close()