aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMapleLeafMakers <mapleleafmakers@gmail.com>2022-08-08 18:39:11 -0400
committerKevinOConnor <kevin@koconnor.net>2022-09-01 13:18:55 -0400
commit83ab6fbae537ee9a454cf804180a5a56008dfdfe (patch)
tree7140b2dc1e85ce3f44093168e7bd111e67c3eab9
parentf7e29b276e5c2454eaa801e78cf3f6aff29c4ba9 (diff)
downloadkutter-83ab6fbae537ee9a454cf804180a5a56008dfdfe.tar.gz
kutter-83ab6fbae537ee9a454cf804180a5a56008dfdfe.tar.xz
kutter-83ab6fbae537ee9a454cf804180a5a56008dfdfe.zip
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 <mapleleafmakers@gmail.com>
-rw-r--r--klippy/extras/save_variables.py1
1 files changed, 0 insertions, 1 deletions
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}