USBPrinting: Using the correct dictionary

(Dirty coding does not make any sense..)
This commit is contained in:
Thomas-Karl Pietrowski 2016-03-14 14:02:56 +01:00
parent a1e673dc64
commit b3f721cfa0

View file

@ -162,7 +162,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
Logger.log("e", "There is no firmware for machine %s.", machine_type)
else:
if machine_type in machine_with_heated_bed.keys():
hex_file = machine_without_heated_bed[machine_type]
hex_file = machine_with_heated_bed[machine_type]
else:
Logger.log("e", "There is no firmware for machine %s with heated bed.", machine_type)