From f0febcf92f96b47dad06d6eccb3efaff6249cc87 Mon Sep 17 00:00:00 2001 From: Sgr A* VMT <1611902585@qq.com> Date: Wed, 31 Jan 2024 03:38:29 +0000 Subject: [PATCH] update idm.py. Signed-off-by: Sgr A* VMT <1611902585@qq.com> --- idm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/idm.py b/idm.py index 794cb83..252513a 100644 --- a/idm.py +++ b/idm.py @@ -885,9 +885,9 @@ class IDMProbe: old_offset = self.model.offset self.model.offset += offset self.model.save(self, False) - gcmd.respond_info("IDM model offset has been updated to {self.model.offset}.\n" + gcmd.respond_info("IDM model offset has been updated to {}.\n" "You must run the SAVE_CONFIG command now to update the\n" - "printer config file and restart the printer.") + "printer config file and restart the printer.".format(self.model.offset)) self.model.offset = old_offset class IDMModel: