From feafc66f96d51c0e26687abf150ee39b79a2990e Mon Sep 17 00:00:00 2001 From: Dorian Soergel Date: Mon, 3 Jun 2019 16:58:07 +0200 Subject: [PATCH] fixing parentwork but no parent composer --- beetsplug/parentwork.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/parentwork.py b/beetsplug/parentwork.py index 6350a7200..41b4fa461 100644 --- a/beetsplug/parentwork.py +++ b/beetsplug/parentwork.py @@ -181,7 +181,7 @@ class ParentWorkPlugin(BeetsPlugin): self._log.debug("Finished searching work for: " + item.artist + ' - ' + item.title) - if parent_info['parent_composer']: + if hasattr(item, 'parentwork'): self._log.debug("Work fetched: " + parent_info['parentwork'] + ' - ' + parent_info['parent_composer']) else: