mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 15:53:12 +08:00
USBPrinting: Correcting indents
This commit is contained in:
parent
a2915ddc80
commit
a1e673dc64
@ -156,15 +156,15 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
|||||||
|
|
||||||
hex_file = None
|
hex_file = None
|
||||||
if not machine_instance.getMachineSettingValue("machine_heated_bed"):
|
if not machine_instance.getMachineSettingValue("machine_heated_bed"):
|
||||||
if machine_type in machine_without_heated_bed.keys():
|
if machine_type in machine_without_heated_bed.keys():
|
||||||
hex_file = machine_without_heated_bed[machine_type]
|
hex_file = machine_without_heated_bed[machine_type]
|
||||||
else:
|
else:
|
||||||
Logger.log("e", "There is no firmware for machine %s.", machine_type)
|
Logger.log("e", "There is no firmware for machine %s.", machine_type)
|
||||||
else:
|
else:
|
||||||
if machine_type in machine_with_heated_bed.keys():
|
if machine_type in machine_with_heated_bed.keys():
|
||||||
hex_file = machine_without_heated_bed[machine_type]
|
hex_file = machine_without_heated_bed[machine_type]
|
||||||
else:
|
else:
|
||||||
Logger.log("e", "There is no firmware for machine %s with heated bed.", machine_type)
|
Logger.log("e", "There is no firmware for machine %s with heated bed.", machine_type)
|
||||||
|
|
||||||
if hex_file:
|
if hex_file:
|
||||||
return hex_file.format(baudrate=baudrate)
|
return hex_file.format(baudrate=baudrate)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user