diff --git a/osxphotos/photoinfo.py b/osxphotos/photoinfo.py index 0d0d5196..b2c7438c 100644 --- a/osxphotos/photoinfo.py +++ b/osxphotos/photoinfo.py @@ -717,8 +717,11 @@ class PhotoInfo: # warn if suffixes don't match but ignore .JPG / .jpeg as # Photo's often converts .JPG to .jpeg suffixes = sorted([x.lower() for x in [dest.suffix, actual_suffix]]) - if dest.suffix != actual_suffix and suffixes != [".jpeg", ".jpg"]: - logging.debug( + if dest.suffix.lower() != actual_suffix.lower() and suffixes != [ + ".jpeg", + ".jpg", + ]: + logging.warning( f"Invalid destination suffix: {dest.suffix}, should be {actual_suffix}" )