From 7f26c94a0f676444aa124c2515f71cbc7ea9860c Mon Sep 17 00:00:00 2001 From: Andrew Kay Date: Sat, 19 Feb 2022 10:29:22 -0600 Subject: [PATCH] Don't run SNOOPIE report on ReceiveTimeout --- pycoax/coax/serial_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pycoax/coax/serial_interface.py b/pycoax/coax/serial_interface.py index 17cb6aa..b837737 100644 --- a/pycoax/coax/serial_interface.py +++ b/pycoax/coax/serial_interface.py @@ -162,7 +162,8 @@ class SerialInterface(Interface): raise error # vvv - self.snoopie_report() + if not isinstance(error, ReceiveTimeout): + self.snoopie_report() # ^^^ response = error