# HG changeset patch # User Edouard Tisserant <edouard.tisserant@gmail.com> # Date 1734466720 -3600 # Node ID 03ed01134858430089fc8e5494bb64cd7f4afc77 # Parent 69114ac20de8df94748af29a26926ccd55be7ce6# Parent 86ad03993ae974c7dbce6945fe6a14f6425a462e Merge remote-tracking branch 'origin/python3' into python3 diff -r 86ad03993ae9 -r 03ed01134858 svghmi/svghmi.py --- 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"]