changed a few warnings to debug messages for missing paths
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user