From cab79db6e9aa55419ac56911eb993ed2cbaadb00 Mon Sep 17 00:00:00 2001 From: jaydee Date: Sat, 25 Oct 2025 21:39:52 +0200 Subject: [PATCH] lala --- mqtt_srv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index 5731d63..745d4bd 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -679,7 +679,7 @@ def on_message(client, userdata, msg): myCmd =f'amixer set Master mute' else: myCmd =f'amixer set Master unmute' - status, output = subprocess.getstatusoutput(myCmd) + subprocess.run(["amixer", "sset", "Master", "mute"], check=True) writeLog(myCmd) output = subprocess.Popen(myCmd, shell=True) writeLog(output)