Fixed checking if LST exists

This commit is contained in:
Joel Collins 2020-01-30 14:21:18 +00:00
parent e7d1f211bc
commit 953a5d7004

View file

@ -176,7 +176,7 @@ class Microscope:
# Read LST. Returns None if no LST is active
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)
settings_current["camera"]["lens_shading_table"] = {