diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-04-24 21:21:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-05-05 11:08:11 -0400 |
commit | c186766708a81914de3fe2e3d7d9ef5842e4b3ba (patch) | |
tree | 52c491ff816a32faf82dd600c4e5fe354fd398ae /klippy/configfile.py | |
parent | 9b6010dc7b3fc4b7bbac16a27a590f9088091e2e (diff) | |
download | kutter-c186766708a81914de3fe2e3d7d9ef5842e4b3ba.tar.gz kutter-c186766708a81914de3fe2e3d7d9ef5842e4b3ba.tar.xz kutter-c186766708a81914de3fe2e3d7d9ef5842e4b3ba.zip |
configfile: Use new GCodeCommand wrappers
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/configfile.py')
-rw-r--r-- | klippy/configfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |