diff --git a/mqtt_srv.py b/mqtt_srv.py index 90dd629..0e6994f 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -679,7 +679,7 @@ def on_message(client, userdata, msg): myCmd =f'amixer set Master 100%' else: myCmd =f'amixer set Master 20%' - + status, output = subprocess.getstatusoutput(myCmd) writeLog(myCmd) output = subprocess.Popen(myCmd, shell=True) writeLog(output)