From e388b8126b02d28f5abadf0b2a51c0d6a3983a8b Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 19 Sep 2016 11:29:57 +0200 Subject: [PATCH] No longer re-create zeroConf object, as this crashes CURA-2393 --- DiscoverUM3Action.py | 2 +- NetworkPrinterOutputDevicePlugin.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/DiscoverUM3Action.py b/DiscoverUM3Action.py index b940765de0..2995c99f5d 100644 --- a/DiscoverUM3Action.py +++ b/DiscoverUM3Action.py @@ -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() diff --git a/NetworkPrinterOutputDevicePlugin.py b/NetworkPrinterOutputDevicePlugin.py index bd930493be..edcd406fab 100644 --- a/NetworkPrinterOutputDevicePlugin.py +++ b/NetworkPrinterOutputDevicePlugin.py @@ -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])