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>
This commit is contained in:
MapleLeafMakers 2022-08-08 18:39:11 -04:00 committed by KevinOConnor
parent f7e29b276e
commit 83ab6fbae5
1 changed files with 0 additions and 1 deletions

View File

@ -54,7 +54,6 @@ class SaveVariables:
msg = "Unable to save variable" msg = "Unable to save variable"
logging.exception(msg) logging.exception(msg)
raise gcmd.error(msg) raise gcmd.error(msg)
gcmd.respond_info("Variable Saved")
self.loadVariables() self.loadVariables()
def get_status(self, eventtime): def get_status(self, eventtime):
return {'variables': self.allVariables} return {'variables': self.allVariables}