--- a/svghmi/svghmi.py Tue Dec 17 14:04:11 2024 +0100
+++ b/svghmi/svghmi.py Tue Dec 17 21:18:40 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"]