aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/klippy.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-08-04 15:49:40 -0400
committerKevin O'Connor <kevin@koconnor.net>2020-08-06 14:21:08 -0400
commit8c8b9b18120ddba92551f8f07e2407f9d190c9db (patch)
tree5aa73cbad695763cf4baa006f729a0d4ddf3f173 /klippy/klippy.py
parent0d930bf8718c316ec0f40440d102ffd4fa66b91e (diff)
downloadkutter-8c8b9b18120ddba92551f8f07e2407f9d190c9db.tar.gz
kutter-8c8b9b18120ddba92551f8f07e2407f9d190c9db.tar.xz
kutter-8c8b9b18120ddba92551f8f07e2407f9d190c9db.zip
gcode: Introduce add_early_printer_objects()
Create the initial gcode class via new module level add_early_printer_objects() function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r--klippy/klippy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py
index 5fc013fa..678c0980 100644
--- a/klippy/klippy.py
+++ b/klippy/klippy.py
@@ -59,7 +59,7 @@ class Printer:
self.event_handlers = {}
self.objects = collections.OrderedDict()
self.objects['webhooks'] = webhooks.WebHooks(self)
- self.objects['gcode'] = gcode.GCodeParser(self)
+ gcode.add_early_printer_objects(self)
def get_start_args(self):
return self.start_args
def get_reactor(self):