virtual_sdcard: Fix merge error

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-06-03 14:23:56 -04:00
parent 638cd4d781
commit 04eb72dcd5
1 changed files with 1 additions and 1 deletions

View File

@ -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