fixing parentwork but no parent composer
@@ -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:
