From d230b3b87024e230e28a879f20ec1b9c2270307e Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 11 Jul 2020 10:04:00 -0400 Subject: [PATCH] Roll back logging changes --- beets/library.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/beets/library.py b/beets/library.py index 3ad875991..e22d4edc0 100644 --- a/beets/library.py +++ b/beets/library.py @@ -419,13 +419,9 @@ class FormattedItemMapping(dbcore.db.FormattedMapping): # This is helpful in path formats when the album artist is unset # on as-is imports. if key == 'artist' and not value: - new_value = self._get('albumartist') - log.debug('No artist, using album artist {0}'.format(new_value)) - return new_value + return self._get('albumartist') elif key == 'albumartist' and not value: - new_value = self._get('artist') - log.debug('No albumartist, using artist {0}'.format(new_value)) - return new_value + return self._get('artist') else: return value