From be0747fd8c750a0f95daf625fb0bc82869e1a603 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 14 Sep 2020 19:38:13 -0700 Subject: [PATCH] Use path.absolute_path when logging add_associated_directory. --- etiquette/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/objects.py b/etiquette/objects.py index 409386e..fd213d7 100644 --- a/etiquette/objects.py +++ b/etiquette/objects.py @@ -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)