From 0028ec674637347c7c20c89847b44e165b46cd6b Mon Sep 17 00:00:00 2001 From: ChrisTerBeke Date: Thu, 18 Apr 2019 14:22:05 +0200 Subject: [PATCH] Ensure all property values are of type bytes --- plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py index 43f0a71f6a..58005a7cc8 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py @@ -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 = "",