Separated updating/writing from saving config
This commit is contained in:
parent
8087e4d445
commit
e9d74c07e6
5 changed files with 27 additions and 21 deletions
|
|
@ -172,7 +172,8 @@ class ConfigAPI(MicroscopeView):
|
|||
|
||||
print(payload.json)
|
||||
|
||||
self.microscope.apply_config(payload.json)
|
||||
self.microscope.write_config(payload.json)
|
||||
self.microscope.save_config()
|
||||
|
||||
return jsonify(self.microscope.config)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue