update: fix _strip_and_copy_image to work with pathlib

This commit is contained in:
Hans-Christoph Steiner 2024-11-19 19:27:16 +01:00
parent 65119b3193
commit 4d6682bc70

View File

@ -803,7 +803,7 @@ def _strip_and_copy_image(in_file, outpath):
Potential source of Python code to strip JPEGs without dependencies:
http://www.fetidcascade.com/public/minimal_exif_writer.py
"""
logging.debug('copying ' + in_file + ' ' + outpath)
logging.debug('copying %s %s', in_file, outpath)
if not os.path.exists(in_file):
if os.path.islink(in_file):