removed unused True path

This commit is contained in:
2024-07-30 15:05:42 +02:00
parent b78f4a61fd
commit a96a5d6423

View File

@ -363,16 +363,12 @@ def work(backend_address, accumulator_host, accumulator_port, visualisation_host
accumulator_socket.send_json(results, FLAGS)
if apply_aggregation and "aggregation_max" in results:
if forceSendVisualisation:
pass
else:
if not forceSendVisualisation:
data = np.empty((2, 2), dtype=np.uint16)
results["type"] = str(data.dtype)
results["shape"] = data.shape
else:
if results["is_good_frame"] and (results["is_hit_frame"] or randint(1, skip_frames_rate) == 1):
pass
else:
if not results["is_good_frame"] or not (results["is_hit_frame"] or randint(1, skip_frames_rate) == 1):
data = np.empty((2, 2), dtype=np.uint16)
results["type"] = str(data.dtype)
results["shape"] = data.shape