From c186766708a81914de3fe2e3d7d9ef5842e4b3ba Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 24 Apr 2020 21:21:58 -0400 Subject: [PATCH] configfile: Use new GCodeCommand wrappers Signed-off-by: Kevin O'Connor --- klippy/configfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/configfile.py b/klippy/configfile.py index 7a7360d3..21f0b794 100644 --- a/klippy/configfile.py +++ b/klippy/configfile.py @@ -273,7 +273,7 @@ class PrinterConfig: "with included value" % (section, option) raise gcode.error(msg) cmd_SAVE_CONFIG_help = "Overwrite config file and restart" - def cmd_SAVE_CONFIG(self, params): + def cmd_SAVE_CONFIG(self, gcmd): if not self.autosave.fileconfig.sections(): return gcode = self.printer.lookup_object('gcode')