Update command query to remove 'sudo'

Removed 'sudo' from the command query in transmit.py.
master-fsk-cw
Alan Johnston 2 weeks ago committed by GitHub
parent 0e1d3050a0
commit 2aa619729f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -549,7 +549,7 @@ if __name__ == "__main__":
# query = ["su", "-c", "'timeout", "3", "sudo", "/home/pi/rpitx/rpitx", "-i-", "-m", "RF", "-f", "434.9e3'", "pi"]
query = ["sudo", "/home/pi/rpitx/rpitx", "-i-", "-m", "RF", "-f", "434.9e3"]
query = ["/home/pi/rpitx/rpitx", "-i-", "-m", "RF", "-f", "434.9e3"]
try:
result = subprocess.run(query, capture_output=True, text=True, check=True)
print(f"Command run was: {query}")

Loading…
Cancel
Save

Powered by TurnKey Linux.