diff --git a/process b/process index 3df49a8..e9f9fc6 100755 --- a/process +++ b/process @@ -90,7 +90,8 @@ def process_recording(filename): print(f'{block_date}: {max_amplitude:.1f}rDB @ {max_freq:.1f}Hz (noise {noise:.3f}rDB)') else: - is_detecting = False + if is_detecting: + is_detecting = False def main():