From 83ab6fbae537ee9a454cf804180a5a56008dfdfe Mon Sep 17 00:00:00 2001 From: MapleLeafMakers Date: Mon, 8 Aug 2022 18:39:11 -0400 Subject: [PATCH] save_variables: Do not write to console when variables are saved Removes a call to gcmd.respond_info which writes 'VARIABLE SAVED' to the console every time the SAVE_VARIABLE command is called. Signed-off-by: Andre LeBlanc --- klippy/extras/save_variables.py | 1 - 1 file changed, 1 deletion(-) diff --git a/klippy/extras/save_variables.py b/klippy/extras/save_variables.py index 3765a1ae..8cb949fe 100644 --- a/klippy/extras/save_variables.py +++ b/klippy/extras/save_variables.py @@ -54,7 +54,6 @@ class SaveVariables: msg = "Unable to save variable" logging.exception(msg) raise gcmd.error(msg) - gcmd.respond_info("Variable Saved") self.loadVariables() def get_status(self, eventtime): return {'variables': self.allVariables}