home · contact · privacy
Fix typo in exiftool parameter.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 16 Aug 2024 04:40:53 +0000 (06:40 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 16 Aug 2024 04:40:53 +0000 (06:40 +0200)
test.py

diff --git a/test.py b/test.py
index 72a3ebedc04e55a51b4d36304c63e6ab4c672d7b..dff6159e82b52df4c5cee499b765a96272eada98 100755 (executable)
--- a/test.py
+++ b/test.py
@@ -36,4 +36,4 @@ image.save(args.output)
 metadata = f'seed: {seed}; guidance: {args.guidance}; height: {args.height}; width: {args.width}; model: {args.model}; prompt: {args.prompt}'
 print(f'saved {args.output} – metadata: {metadata}')
 with ExifToolHelper() as et:
-    et.set_tags([args.output], tags={'Comment': metadata}, params=['-overwrite-original'])
+    et.set_tags([args.output], tags={'Comment': metadata}, params=['-overwrite_original'])