Skip to content

Commit

Permalink
Merge pull request #228 from mbridak/Fix_RPRT_showing_as_a_mode
Browse files Browse the repository at this point in the history
@mbridak fix rprt showing as a mode.
  • Loading branch information
mbridak authored Nov 25, 2024
2 parents bb02780 + 025e9c6 commit c8c43ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion not1mm/lib/cat_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit c8c43ce

Please sign in to comment.