From 2ef74999ea5e8e1a8aa1d6a0eefc699ded31e606 Mon Sep 17 00:00:00 2001 From: David Logie Date: Fri, 25 Jan 2019 17:11:15 +0000 Subject: [PATCH] Use .as_str_seq() instead of .get(). --- beets/autotag/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/autotag/__init__.py b/beets/autotag/__init__.py index 6783929cd..f0c73d3c0 100644 --- a/beets/autotag/__init__.py +++ b/beets/autotag/__init__.py @@ -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