From 4ba9d9dabe19949f9eaf1e3e012e8ae21b1c4492 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 22 Sep 2021 20:26:53 -0700 Subject: [PATCH] Switch pipeable.output to pipeable.stdout. --- resize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resize.py b/resize.py index 523c3bf..d6bb097 100644 --- a/resize.py +++ b/resize.py @@ -98,7 +98,7 @@ def resize( if new_name.extension == '.jpg': image = image.convert('RGB') - pipeable.output(new_name.absolute_path) + pipeable.stdout(new_name.absolute_path) image.save(new_name.absolute_path, exif=image.info.get('exif', b''), quality=quality) def resize_argparse(args):