Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2019-05-28 12:59:17 +0300
committerJaime van Kessel <nallath@gmail.com>2019-05-28 12:59:17 +0300
commit63316fa4e9049043e36a35ff91bc2a9cd5aee465 (patch)
tree24e2b8a9aad361241436e01e084bb688bd1eb1ce
parent376c5445e4c7e84655709753cc208b8612fd065a (diff)
Fix manual output devices not being added on boot4.1.04.1
-rw-r--r--plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py b/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py
index 41c76dc4c0..5168c0252c 100644
--- a/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py
+++ b/plugins/UM3NetworkPrinting/src/UM3OutputDevicePlugin.py
@@ -235,10 +235,6 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
self._application.callLater(manual_printer_request.callback, False, address)
def addManualDevice(self, address: str, callback: Optional[Callable[[bool, str], None]] = None) -> None:
- if address in self._manual_instances:
- Logger.log("i", "Manual printer with address [%s] has already been added, do nothing", address)
- return
-
self._manual_instances[address] = ManualPrinterRequest(address, callback = callback)
self._preferences.setValue("um3networkprinting/manual_instances", ",".join(self._manual_instances.keys()))