From e71c464c141c51e65807d0ca19e50d28caf5776e Mon Sep 17 00:00:00 2001 From: Marc Addeo Date: Sun, 28 Dec 2014 21:27:58 -0500 Subject: [PATCH] Initialize feat_part as None --- beetsplug/ftintitle.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beetsplug/ftintitle.py b/beetsplug/ftintitle.py index fbeb7bc27..47d918f5f 100644 --- a/beetsplug/ftintitle.py +++ b/beetsplug/ftintitle.py @@ -118,6 +118,8 @@ def ft_in_title(item, drop_feat, loglevel=logging.DEBUG): if featured and albumartist != artist and albumartist: log.log(loglevel, displayable_path(item.path)) + feat_part = None + # Attempt to find the featured artist try: feat_part = find_feat_part(artist, albumartist)