more pythonic check
This commit is contained in:
1 parent
af3eb6853b
commit
d9d79f3e87
1 file changed
+1
-1
+1
-1
@@ -134,7 +134,7 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
|
||||
data = ju_stream_adapter.process(image, metadata, double_pixels=double_pixels)
|
||||
|
||||
# pedestal file is not in stream, skip this frame
|
||||
if ju_stream_adapter.handler.pedestal_file is None or ju_stream_adapter.handler.pedestal_file == "":
|
||||
if not ju_stream_adapter.handler.pedestal_file:
|
||||
continue
|
||||
|
||||
data = np.ascontiguousarray(data)
|
||||
|
||||
Reference in new issue
Block a user