Fixed checking if LST exists
This commit is contained in:
parent
e7d1f211bc
commit
953a5d7004
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class Microscope:
|
||||||
# Read LST. Returns None if no LST is active
|
# Read LST. Returns None if no LST is active
|
||||||
lst_arr = self.camera.read_lens_shading_table()
|
lst_arr = self.camera.read_lens_shading_table()
|
||||||
|
|
||||||
if lst_arr:
|
if lst_arr is not None:
|
||||||
b64_string, dtype, shape = serialise_array_b64(lst_arr)
|
b64_string, dtype, shape = serialise_array_b64(lst_arr)
|
||||||
|
|
||||||
settings_current["camera"]["lens_shading_table"] = {
|
settings_current["camera"]["lens_shading_table"] = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue