From b3f721cfa0eee26d2f61472b2d0a9073d3fe3476 Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski Date: Mon, 14 Mar 2016 14:02:56 +0100 Subject: [PATCH] USBPrinting: Using the correct dictionary (Dirty coding does not make any sense..) --- plugins/USBPrinting/USBPrinterManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index f74ce38958..c1b6533aec 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -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)