mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -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.
|
||||
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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue