From c82ae5ba9c7a63346cae428ad2ae50277898f4bb Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 16 Dec 2025 06:33:18 -0500 Subject: [PATCH] Update transmit.py fix gpsd query --- transmit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/transmit.py b/transmit.py index 18c97c1c..cd65a096 100644 --- a/transmit.py +++ b/transmit.py @@ -404,9 +404,8 @@ if __name__ == "__main__": print(f"Command run was: {e.cmd}") print(f"Output of the command (stdout): {e.stdout}") print(f"Error output of the command (stderr): {e.stderr}") - print(result.stdout) - if (mode != 'e') and (result.stdout != "active"): + if (mode != 'e') and (e.stdout != "active"): print("Programming FM module!\n"); output(pd, 1) output (ptt, 1)