Add log for Photo.relocate.

This commit is contained in:
voussoir 2020-09-14 19:38:29 -07:00
parent be0747fd8c
commit 5d40622b76

View file

@ -1011,6 +1011,7 @@ class Photo(ObjectBase):
if not allow_duplicates:
self.photodb.assert_no_such_photo_by_path(filepath=new_filepath)
self.photodb.log.debug('Relocating %s to "%s"', self, new_filepath.absolute_path)
data = {
'id': self.id,
'filepath': new_filepath.absolute_path,