do caption copy for both flips

This commit is contained in:
DepFA 2022-10-20 02:57:18 +01:00 committed by GitHub
parent 55d8c6cce6
commit 858462f719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ def preprocess_work(process_src, process_dst, process_width, process_height, pre
subindex[0] += 1
def save_pic(image, index, existing_caption=None):
save_pic_with_caption(image, index)
save_pic_with_caption(image, index, existing_caption=existing_caption)
if process_flip:
save_pic_with_caption(ImageOps.mirror(image), index, existing_caption=existing_caption)