Skip to content

Commit bd5d038

Browse files
committed
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.
1 parent c717fdb commit bd5d038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/python/gladevcp/hal_filechooser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def update(self):
7272

7373
def finish(self):
7474
# .. might be something left on stderr
75-
for line in self.p.stderr:
75+
for line in self.p.stderr.read().decode():
7676
m = progress_re.match(line)
7777
if not m:
7878
self.stderr_text.append(line)

0 commit comments

Comments
 (0)