From 26c6fb31cf00cb6147db378bb88633441a98f0e0 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 24 Oct 2021 20:54:51 -0700 Subject: [PATCH] Fix rotate.py. --- rotate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rotate.py b/rotate.py index c2ec90c..104ef48 100644 --- a/rotate.py +++ b/rotate.py @@ -42,8 +42,8 @@ def rotate_argparse(args): newname = base + suffix newname = file.parent.with_child(newname).add_extension(file.extension) - pipeable.stdout(newname) - image.save(file.absolute_path, exif=exif, quality=args.quality) + pipeable.stdout(newname.absolute_path) + image.save(newname.absolute_path, exif=exif, quality=args.quality) @vlogging.main_decorator def main(argv):