aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/klippy.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r--klippy/klippy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py
index 421a6099..cb81364e 100644
--- a/klippy/klippy.py
+++ b/klippy/klippy.py
@@ -5,7 +5,7 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import sys, optparse, ConfigParser, logging, time, threading
-import gcode, toolhead, util, mcu, fan, heater, reactor
+import gcode, toolhead, util, mcu, fan, heater, extruder, reactor
class ConfigWrapper:
def __init__(self, printer, section):
@@ -52,9 +52,9 @@ class Printer:
if self.fileconfig.has_section('fan'):
self.objects['fan'] = fan.PrinterFan(
self, ConfigWrapper(self, 'fan'))
- if self.fileconfig.has_section('heater_nozzle'):
- self.objects['heater_nozzle'] = heater.PrinterHeater(
- self, ConfigWrapper(self, 'heater_nozzle'))
+ if self.fileconfig.has_section('extruder'):
+ self.objects['extruder'] = extruder.PrinterExtruder(
+ self, ConfigWrapper(self, 'extruder'))
if self.fileconfig.has_section('heater_bed'):
self.objects['heater_bed'] = heater.PrinterHeater(
self, ConfigWrapper(self, 'heater_bed'))