diff --git a/mqtt_srv.py b/mqtt_srv.py index 9bc7ebb..2e6fefe 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -705,7 +705,6 @@ def on_message(client, userdata, msg): output = subprocess.Popen(myCmd, shell=True) writeLog(output) - if myObj["cmd"] == "display": if curos == "Windows": myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \""