From a1e673dc64dbd92eb8b7dac175e459d7a2683e62 Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski Date: Mon, 14 Mar 2016 13:34:49 +0100 Subject: [PATCH] USBPrinting: Correcting indents --- plugins/USBPrinting/USBPrinterManager.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index 75433cae5c..f74ce38958 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -156,15 +156,15 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension): hex_file = None if not machine_instance.getMachineSettingValue("machine_heated_bed"): - if machine_type in machine_without_heated_bed.keys(): - hex_file = machine_without_heated_bed[machine_type] - else: - Logger.log("e", "There is no firmware for machine %s.", machine_type) + if machine_type in machine_without_heated_bed.keys(): + hex_file = machine_without_heated_bed[machine_type] + else: + 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] - else: - Logger.log("e", "There is no firmware for machine %s with heated bed.", machine_type) + hex_file = machine_without_heated_bed[machine_type] + else: + Logger.log("e", "There is no firmware for machine %s with heated bed.", machine_type) if hex_file: return hex_file.format(baudrate=baudrate)