mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:59:05 +08:00
Fix typing
CURA-6435
This commit is contained in:
parent
b0fd6628a5
commit
d5f4fd43dd
@ -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