update idm.py.

Signed-off-by: Sgr A* VMT <1611902585@qq.com>
This commit is contained in:
Sgr A* VMT
2024-01-31 03:06:54 +00:00
committed by Gitee
parent d8e9cb7cc7
commit b6366ec570

4
idm.py
View File

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