From 025e9c6ef6caaeb64de98274dfd701e2bec93ae3 Mon Sep 17 00:00:00 2001 From: mbridak Date: Mon, 25 Nov 2024 12:46:28 -0800 Subject: [PATCH] @mbridak fix rprt showing as a mode. --- not1mm/lib/cat_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/not1mm/lib/cat_interface.py b/not1mm/lib/cat_interface.py index 15abdf1..cee8b17 100644 --- a/not1mm/lib/cat_interface.py +++ b/not1mm/lib/cat_interface.py @@ -337,7 +337,8 @@ def __getmode_rigctld(self) -> str: self.rigctrlsocket.send(b"m\n") mode = self.__get_serial_string() mode = mode.strip().split()[0] - # logger.debug("%s", mode) + if mode == "RPRT": + return "" return mode except IndexError as exception: logger.debug("%s", f"{exception}")