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>
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user