diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py index 223d33c7b8..7b5add276a 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDevice.py @@ -67,8 +67,8 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice): # An example of why this is needed is the selection of the compatible file type when exporting the tool path. properties = { b"address": b"", - b"name": cluster.host_name.encode(), - b"firmware_version": cluster.host_version.encode(), + b"name": cluster.host_name.encode() if cluster.host_name else b"", + b"firmware_version": cluster.host_version.encode() if cluster.host_version else b"", b"printer_type": b"" }