mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
update: fix _strip_and_copy_image to work with pathlib
This commit is contained in:
parent
65119b3193
commit
4d6682bc70
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ def _strip_and_copy_image(in_file, outpath):
|
||||||
Potential source of Python code to strip JPEGs without dependencies:
|
Potential source of Python code to strip JPEGs without dependencies:
|
||||||
http://www.fetidcascade.com/public/minimal_exif_writer.py
|
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 not os.path.exists(in_file):
|
||||||
if os.path.islink(in_file):
|
if os.path.islink(in_file):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue