mirror of
https://github.com/beetbox/beets.git
synced 2026-01-14 20:24:36 +01:00
Use .as_str_seq() instead of .get().
This commit is contained in:
parent
1f356d66a6
commit
2ef74999ea
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ def apply_metadata(album_info, mapping):
|
|||
'data_source',):
|
||||
# Don't overwrite fields with empty values unless the
|
||||
# field is explicitly allowed to be overwritten
|
||||
clobber = field not in config['no_clobber'].get()
|
||||
clobber = field not in config['no_clobber'].as_str_seq()
|
||||
value = getattr(album_info, field)
|
||||
if value is None and not clobber:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue