mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Zero conf browser now uses stored zeroconf obj
CURA-49
This commit is contained in:
parent
0ad1c1a3a7
commit
f488d8eb28
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ class WifiOutputDevicePlugin(OutputDevicePlugin, SignalEmitter):
|
||||||
|
|
||||||
## Start looking for devices on network.
|
## Start looking for devices on network.
|
||||||
def start(self):
|
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):
|
def stop(self):
|
||||||
self._zero_conf.close()
|
self._zero_conf.close()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue