From 5d40622b76b59ff3a6e0718abf715c8fa1028af6 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 14 Sep 2020 19:38:29 -0700 Subject: [PATCH] Add log for Photo.relocate. --- etiquette/objects.py | 1 + 1 file changed, 1 insertion(+) diff --git a/etiquette/objects.py b/etiquette/objects.py index fd213d7..4c57ad3 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -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,