From b6366ec570d6c2773bc38dc33803e355b27fe433 Mon Sep 17 00:00:00 2001 From: Sgr A* VMT <1611902585@qq.com> Date: Wed, 31 Jan 2024 03:06:54 +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 ffe50cd..794cb83 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 %.5f\n" + gcmd.respond_info("IDM model offset has been updated to {self.model.offset}.\n" "You must run the SAVE_CONFIG command now to update the\n" - "printer config file and restart the printer.")% (self.model.offset,) + "printer config file and restart the printer.") self.model.offset = old_offset class IDMModel: