Add log for Photo.relocate.
This commit is contained in:
		
							parent
							
								
									be0747fd8c
								
							
						
					
					
						commit
						5d40622b76
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1011,6 +1011,7 @@ class Photo(ObjectBase): | ||||||
|         if not allow_duplicates: |         if not allow_duplicates: | ||||||
|             self.photodb.assert_no_such_photo_by_path(filepath=new_filepath) |             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 = { |         data = { | ||||||
|             'id': self.id, |             'id': self.id, | ||||||
|             'filepath': new_filepath.absolute_path, |             'filepath': new_filepath.absolute_path, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue