mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Ensure all property values are of type bytes
This commit is contained in:
parent
5bb56e06a4
commit
0028ec6746
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
||||||
b"address": cluster.host_internal_ip.encode() if cluster.host_internal_ip else b"",
|
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"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"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 = "",
|
super().__init__(device_id = cluster.cluster_id, address = "",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue