Update transmit.py fix gpsd query

pi-sensors-auto-gps
Alan Johnston 2 days ago committed by GitHub
parent 3685b91984
commit c82ae5ba9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.