From d7e8264d92b583555cad7888bf44a0c6e59f5a4c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 27 Feb 2019 13:07:41 -0500 Subject: [PATCH] extruder: Wrap code to 80 columns Signed-off-by: Kevin O'Connor --- klippy/kinematics/extruder.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/klippy/kinematics/extruder.py b/klippy/kinematics/extruder.py index ec51b4df..b32b66d9 100644 --- a/klippy/kinematics/extruder.py +++ b/klippy/kinematics/extruder.py @@ -60,8 +60,8 @@ class PrinterExtruder: gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", None, self.cmd_default_SET_PRESSURE_ADVANCE, desc=self.cmd_SET_PRESSURE_ADVANCE_help) - gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", self.name, - self.cmd_SET_PRESSURE_ADVANCE, + gcode.register_mux_command("SET_PRESSURE_ADVANCE", "EXTRUDER", + self.name, self.cmd_SET_PRESSURE_ADVANCE, desc=self.cmd_SET_PRESSURE_ADVANCE_help) def get_heater(self): return self.heater @@ -242,7 +242,8 @@ def add_printer_objects(config): printer.add_object('extruder0', pe) continue break - printer.add_object(section, PrinterExtruder(config.getsection(section), i)) + pe = PrinterExtruder(config.getsection(section), i) + printer.add_object(section, pe) def get_printer_extruders(printer): out = []