Update transmit.py fix is-active cmd

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

@ -396,7 +396,7 @@ if __name__ == "__main__":
card = "Headphones" # default using pcm audio output of Pi Zero
# card = "Device" # using USB sound card for audio output
query = ["sudo", "systemctl", "is-active", "gpsd.socket.service"]
query = ["sudo", "systemctl", "is-active", "gpsd.socket"]
try:
result = subprocess.run(query, capture_output=True, text=True, check=True)
except subprocess.CalledProcessError as e:

Loading…
Cancel
Save

Powered by TurnKey Linux.