mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 14:58:07 +09:00
webhooks: 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:
@@ -268,3 +268,6 @@ class WebHooks:
|
||||
logging.info(msg)
|
||||
raise WebRequestError(msg)
|
||||
return cb
|
||||
|
||||
def add_early_printer_objects(printer):
|
||||
printer.add_object('webhooks', WebHooks(printer))
|
||||
|
||||
Reference in New Issue
Block a user