Added extra type checking when applying pi camera config
This commit is contained in:
parent
57832f94a8
commit
3467fe7759
2 changed files with 5 additions and 4 deletions
|
|
@ -205,7 +205,8 @@ class ConfigAPI(MicroscopeView):
|
|||
"""
|
||||
payload = JsonPayload(request)
|
||||
|
||||
logging.debug("Updating settings from POST request.")
|
||||
logging.debug("Updating settings from POST request:")
|
||||
logging.debug(payload.json)
|
||||
|
||||
self.microscope.apply_config(payload.json)
|
||||
self.microscope.save_config()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue