skew_corrections: Fix typo (gmcd vs gcmd)

Reported by @Ludy87.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-03-17 20:52:10 -04:00
parent 743c766f47
commit a43973b0e0
1 changed files with 1 additions and 1 deletions

View File

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