mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 16:54:23 +08:00
Ensure all property values are of type bytes
This commit is contained in:
parent
5bb56e06a4
commit
0028ec6746
@ -79,7 +79,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
||||
b"address": cluster.host_internal_ip.encode() if cluster.host_internal_ip else b"",
|
||||
b"name": cluster.friendly_name.encode() if cluster.friendly_name else b"",
|
||||
b"firmware_version": cluster.host_version.encode() if cluster.host_version else b"",
|
||||
b"cluster_size": 1 # cloud devices are always clusters of at least one
|
||||
b"cluster_size": b"1" # cloud devices are always clusters of at least one
|
||||
}
|
||||
|
||||
super().__init__(device_id = cluster.cluster_id, address = "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user