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')