wrap the cover_names map with a list in fetchart

most `cover_names` users expect to operate on a list
This commit is contained in:
Johnny Robeson 2016-06-10 00:09:15 -04:00
parent 02165fc3a9
commit ab67727283

View file

@ -704,7 +704,7 @@ class FetchArtPlugin(plugins.BeetsPlugin, RequestMixin):
self.enforce_ratio = True
cover_names = self.config['cover_names'].as_str_seq()
self.cover_names = map(util.bytestring_path, cover_names)
self.cover_names = list(map(util.bytestring_path, cover_names))
self.cautious = self.config['cautious'].get(bool)
self.store_source = self.config['store_source'].get(bool)