Use path.absolute_path when logging add_associated_directory.
This commit is contained in:
parent
8279a1871b
commit
be0747fd8c
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class Album(ObjectBase, GroupableMixin):
|
|||
if self.has_associated_directory(path):
|
||||
return
|
||||
|
||||
self.photodb.log.debug('Adding directory %s to %s.', path, self)
|
||||
self.photodb.log.debug('Adding directory "%s" to %s.', path.absolute_path, self)
|
||||
data = {'albumid': self.id, 'directory': path.absolute_path}
|
||||
self.photodb.sql_insert(table='album_associated_directories', data=data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue