mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
No longer re-create zeroConf object, as this crashes
CURA-2393
This commit is contained in:
parent
c4d197ea8a
commit
e388b8126b
2 changed files with 1 additions and 2 deletions
|
@ -27,7 +27,7 @@ class DiscoverUM3Action(MachineAction):
|
|||
|
||||
Application.getInstance().engineCreatedSignal.connect(self._createAdditionalComponentsView)
|
||||
|
||||
self._min_time_between_restart_discovery = 5
|
||||
self._min_time_between_restart_discovery = 1
|
||||
self._time_since_last_discovery = time.time() - self._min_time_between_restart_discovery
|
||||
|
||||
printersChanged = pyqtSignal()
|
||||
|
|
|
@ -41,7 +41,6 @@ class NetworkPrinterOutputDevicePlugin(OutputDevicePlugin):
|
|||
self._browser = None
|
||||
self._old_printers = [printer_name for printer_name in self._printers]
|
||||
self._printers = {}
|
||||
self._zero_conf.__init__()
|
||||
|
||||
self._browser = ServiceBrowser(self._zero_conf, u'_ultimaker._tcp.local.', [self._onServiceChanged])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue