From 04eb72dcd5c0a1a3f223cfb47cb9dcf897ff0747 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 3 Jun 2022 14:23:56 -0400 Subject: [PATCH] virtual_sdcard: Fix merge error Signed-off-by: Kevin O'Connor --- klippy/extras/virtual_sdcard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/virtual_sdcard.py b/klippy/extras/virtual_sdcard.py index fb4c7d41..daf19db9 100644 --- a/klippy/extras/virtual_sdcard.py +++ b/klippy/extras/virtual_sdcard.py @@ -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