mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 04:23:56 +01:00
Replace map with list comprehension
This commit is contained in:
parent
d04fe42cee
commit
ec08272a06
1 changed files with 1 additions and 1 deletions
|
|
@ -1106,7 +1106,7 @@ def _load_plugins(config):
|
|||
"""Load the plugins specified in the configuration.
|
||||
"""
|
||||
paths = config['pluginpath'].get(confit.StrSeq(split=False))
|
||||
paths = list(map(util.normpath, paths))
|
||||
paths = [util.normpath(p) for p in paths]
|
||||
log.debug(u'plugin paths: {0}', util.displayable_path(paths))
|
||||
|
||||
import beetsplug
|
||||
|
|
|
|||
Loading…
Reference in a new issue