svghmi/svghmi.py
changeset 4075 69114ac20de8
parent 4071 d0be57df5f8d
child 4079 4ce63b8647d7
--- 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"]