mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:45:57 +08:00
Zero conf browser now uses stored zeroconf obj
CURA-49
This commit is contained in:
parent
0ad1c1a3a7
commit
f488d8eb28
@ -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…
x
Reference in New Issue
Block a user