mirror of https://github.com/Desuuuu/klipper.git
skew_corrections: Fix typo (gmcd vs gcmd)
Reported by @Ludy87. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
743c766f47
commit
a43973b0e0
|
@ -143,7 +143,7 @@ class PrinterSkew:
|
||||||
"update the printer config file and restart the printer."
|
"update the printer config file and restart the printer."
|
||||||
% (name))
|
% (name))
|
||||||
elif gcmd.get('REMOVE', None) is not None:
|
elif gcmd.get('REMOVE', None) is not None:
|
||||||
name = gmcd.get('REMOVE')
|
name = gcmd.get('REMOVE')
|
||||||
if name in self.skew_profiles:
|
if name in self.skew_profiles:
|
||||||
configfile = self.printer.lookup_object('configfile')
|
configfile = self.printer.lookup_object('configfile')
|
||||||
configfile.remove_section('skew_correction ' + name)
|
configfile.remove_section('skew_correction ' + name)
|
||||||
|
|
Loading…
Reference in New Issue