Fix rotate.py.

This commit is contained in:
voussoir 2021-10-24 20:54:51 -07:00
parent 1dd17de87c
commit 26c6fb31cf
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -42,8 +42,8 @@ def rotate_argparse(args):
newname = base + suffix newname = base + suffix
newname = file.parent.with_child(newname).add_extension(file.extension) newname = file.parent.with_child(newname).add_extension(file.extension)
pipeable.stdout(newname) pipeable.stdout(newname.absolute_path)
image.save(file.absolute_path, exif=exif, quality=args.quality) image.save(newname.absolute_path, exif=exif, quality=args.quality)
@vlogging.main_decorator @vlogging.main_decorator
def main(argv): def main(argv):