mirror of https://github.com/Desuuuu/klipper.git
virtual_sdcard: Fix merge error
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
638cd4d781
commit
04eb72dcd5
|
@ -25,7 +25,7 @@ class VirtualSD:
|
|||
self.next_file_position = 0
|
||||
self.work_timer = None
|
||||
# Error handling
|
||||
gcode_macro = printer.load_object(config, 'gcode_macro')
|
||||
gcode_macro = self.printer.load_object(config, 'gcode_macro')
|
||||
self.on_error_gcode = gcode_macro.load_template(
|
||||
config, 'on_error_gcode', '')
|
||||
# Register commands
|
||||
|
|
Loading…
Reference in New Issue