mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 12:29:02 +08:00
Fix typing
CURA-6435
This commit is contained in:
parent
2dd4a30586
commit
5074cf69dd
@ -356,7 +356,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
|
||||
properties = device.getProperties().copy()
|
||||
if b"incomplete" in properties:
|
||||
del properties[b"incomplete"]
|
||||
properties[b"cluster_size"] = len(cluster_printers_list)
|
||||
properties[b"cluster_size"] = str(len(cluster_printers_list)).encode("utf-8")
|
||||
self._onRemoveDevice(instance_name)
|
||||
self._onAddDevice(instance_name, address, properties)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user