Switch pipeable.output to pipeable.stdout.
This commit is contained in:
parent
097cb07421
commit
4ba9d9dabe
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue