From 85c7b764ade1b524e429715536a7bd52945636c3 Mon Sep 17 00:00:00 2001 From: ge Date: Sat, 22 Apr 2023 04:55:53 +0300 Subject: [PATCH] fix tag setting via 'mee set' --- mee.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mee.py b/mee.py index a9da1e1..c6a062a 100644 --- a/mee.py +++ b/mee.py @@ -208,8 +208,9 @@ def cli() -> None: print(tag) if args["set"] and not args["--custom"]: - mee.exif_set(key, value) - mee.commit(outfile) + mee.image.delete(mee.storage) + mee.image.set(key, value) + mee.write_out(outfile) if args["del"] and not args["--custom"]: if args["--all"]: