mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 12:39:22 +08:00
Fix codestyle
This commit is contained in:
parent
3f11cb911d
commit
11cf409d71
@ -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.
|
# An example of why this is needed is the selection of the compatible file type when exporting the tool path.
|
||||||
properties = {
|
properties = {
|
||||||
b"address": b"",
|
b"address": b"",
|
||||||
b"name": cluster.host_name.encode(),
|
b"name": cluster.host_name.encode() if cluster.host_name else b"",
|
||||||
b"firmware_version": cluster.host_version.encode(),
|
b"firmware_version": cluster.host_version.encode() if cluster.host_version else b"",
|
||||||
b"printer_type": b""
|
b"printer_type": b""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user