configfile: Use new GCodeCommand wrappers
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
9b6010dc7b
commit
c186766708
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue