# HG changeset patch
# User Edouard Tisserant <edouard@beremiz.fr>
# Date 1734345655 -3600
# Node ID 69114ac20de8df94748af29a26926ccd55be7ce6
# Parent  5fed45d506bc9b0a9460c263f5c84cab5826f802
SVGHMI: fix inverted behavior of SuppressBrowserOutput.

diff -r 5fed45d506bc -r 69114ac20de8 svghmi/svghmi.py
--- a/svghmi/svghmi.py	Thu Dec 12 11:56:17 2024 +0100
+++ b/svghmi/svghmi.py	Mon Dec 16 11:40:55 2024 +0100
@@ -642,7 +642,7 @@
         res += ((target_fname, open(target_path, "rb")),)
 
         svghmi_cmds = {}
-        suppress_output = not(self.GetParamsAttributes("SVGHMI.SuppressBrowserOutput")["value"])
+        suppress_output = self.GetParamsAttributes("SVGHMI.SuppressBrowserOutput")["value"]
         stdstream = "subprocess.DEVNULL" if suppress_output else "None"
         for thing in ["Start", "Stop", "Watchdog"]:
              given_command = self.GetParamsAttributes("SVGHMI.On"+thing)["value"]