From 1af569d9775f3eaafcbfcd69d2966b0f0f8a5ec3 Mon Sep 17 00:00:00 2001 From: Andrey Parfenov Date: Sun, 26 Apr 2026 18:48:07 +0700 Subject: [PATCH] Fix for Empty except Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- emulator/brainflow_emulator/biolistener_emulator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator/brainflow_emulator/biolistener_emulator.py b/emulator/brainflow_emulator/biolistener_emulator.py index 310744374..d71947922 100755 --- a/emulator/brainflow_emulator/biolistener_emulator.py +++ b/emulator/brainflow_emulator/biolistener_emulator.py @@ -166,6 +166,7 @@ def run(self): except TimeoutError: pass except socket.timeout: + # Expected when no command is received before socket timeout; continue loop. pass except Exception as err: logging.error(f"Error in recv thread: {err}")