mirror of
https://github.com/beetbox/beets.git
synced 2025-12-09 18:12:19 +01:00
check for label presence (actually fixes #254 this time)
This commit is contained in:
parent
6cd157c15f
commit
e8924cc7bf
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ def album_info(release):
|
|||
# Label name.
|
||||
if release.get('label-info-list'):
|
||||
label_info = release['label-info-list'][0]
|
||||
if label_info['label']:
|
||||
if label_info.get('label'):
|
||||
label = label_info['label']['name']
|
||||
if label != '[no label]':
|
||||
info.label = label
|
||||
|
|
|
|||
Loading…
Reference in a new issue