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.next_file_position = 0
|
||||||
self.work_timer = None
|
self.work_timer = None
|
||||||
# Error handling
|
# 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(
|
self.on_error_gcode = gcode_macro.load_template(
|
||||||
config, 'on_error_gcode', '')
|
config, 'on_error_gcode', '')
|
||||||
# Register commands
|
# Register commands
|
||||||
|
|
Loading…
Reference in New Issue