From 72d12ad1a152f74f9acc0ab248337b81b24b564a Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Wed, 6 Nov 2024 15:21:10 -0800 Subject: [PATCH] Do ect line-by-line instead of char by char --- gbmi/utils/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbmi/utils/images.py b/gbmi/utils/images.py index 63fa78f1..ae6cb52b 100644 --- a/gbmi/utils/images.py +++ b/gbmi/utils/images.py @@ -167,7 +167,7 @@ def ect( ["ect", *extra_args], *images, check=True, - trim_printout=trim_ect if trim_printout else None, + trim_printout=trim_ect if trim_printout else (lambda x: x), stdout_write=stdout_write, stderr_write=stderr_write, )