Removed warning from path_raw

This commit is contained in:
Rhet Turnbull
2020-04-19 18:39:53 -07:00
parent 9b9b54e590
commit ec68feec49

View File

@@ -296,7 +296,10 @@ class PhotoInfo:
glob_str = f"{filestem}*.{raw_ext}"
raw_file = findfiles(glob_str, filepath)
if len(raw_file) != 1:
logging.warning(
# Note: In Photos Version 5.0 (141.19.150), images not copied to Photos Library
# that are missing do not always trigger is_missing = True as happens
# in earlier version so it's possible for this check to fail, if so, return None
logging.debug(
f"Error getting path to RAW file: {filepath}/{glob_str}"
)
photopath = None