From 19d83844aef2dff589a97424978cce8ebe136b31 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 5 May 2025 17:10:26 +0200 Subject: [PATCH] klal --- mqtt_srv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt_srv.py b/mqtt_srv.py index 3da3a83..ae7dbc5 100755 --- a/mqtt_srv.py +++ b/mqtt_srv.py @@ -699,7 +699,7 @@ def on_message(client, userdata, msg): 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 \"" + myCmd =f"powershell -w h -command \" Import-Module DisplayConfig ; Import-Clixml $home\\monitors\\{myObj['target']}.xml | Use-DisplayConfig -UpdateAdapterIds \"" writeLog(myCmd) #myCmd = f"MultiMonitorTool.exe /LoadConfig \"c:\\Program Files\\jaydee\\Monitors\\{myObj["target"]}.cfg\"" #writeLog(myCmd)