changed a few warnings to debug messages for missing paths

This commit is contained in:
Rhet Turnbull
2020-01-25 08:40:42 -08:00
parent 1261425d00
commit 9ee96c55e0

View File

@@ -184,12 +184,12 @@ class PhotoInfo:
# check again to see if we found a valid file # check again to see if we found a valid file
if not os.path.isfile(photopath): if not os.path.isfile(photopath):
logging.warning( logging.debug(
f"MISSING PATH: edited file for UUID {self._uuid} should be at {photopath} but does not appear to exist" f"MISSING PATH: edited file for UUID {self._uuid} should be at {photopath} but does not appear to exist"
) )
photopath = None photopath = None
else: else:
logging.warning( logging.debug(
f"{self.uuid} hasAdjustments but edit_resource_id is None" f"{self.uuid} hasAdjustments but edit_resource_id is None"
) )
photopath = None photopath = None
@@ -228,7 +228,7 @@ class PhotoInfo:
) )
if not os.path.isfile(photopath): if not os.path.isfile(photopath):
logging.warning( logging.debug(
f"edited file for UUID {self._uuid} should be at {photopath} but does not appear to exist" f"edited file for UUID {self._uuid} should be at {photopath} but does not appear to exist"
) )
photopath = None photopath = None