From bd5d038bf9932bc6674fbe7f5dd15a80b05ac4b6 Mon Sep 17 00:00:00 2001 From: Moses McKnight <moses@mcktex.com> Date: Thu, 9 Nov 2023 12:45:00 -0600 Subject: [PATCH] Gladevcp: fix error on missing filter program If an invalid filter program was specified in the INI file, the opened file simply failed to load without warning except for a cryptic error on the command line. --- lib/python/gladevcp/hal_filechooser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/gladevcp/hal_filechooser.py b/lib/python/gladevcp/hal_filechooser.py index 28571d04d09..3da7407176f 100644 --- a/lib/python/gladevcp/hal_filechooser.py +++ b/lib/python/gladevcp/hal_filechooser.py @@ -72,7 +72,7 @@ def update(self): def finish(self): # .. might be something left on stderr - for line in self.p.stderr: + for line in self.p.stderr.read().decode(): m = progress_re.match(line) if not m: self.stderr_text.append(line)