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:
committed by
KevinOConnor
parent
f7e29b276e
commit
83ab6fbae5
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user