mirror of
https://github.com/beetbox/beets.git
synced 2025-12-27 11:02:43 +01:00
fix linting error
This commit is contained in:
parent
6febcf1190
commit
dfdb068b51
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,8 @@ class FormattedMapping(Mapping):
|
|||
|
||||
if self.for_path:
|
||||
if re.match(r'^\w:', value):
|
||||
value = value.replace(':', beets.config['drive_sep_replace'].as_str())
|
||||
value = value.replace(':',
|
||||
beets.config['drive_sep_replace'].as_str())
|
||||
sep_repl = beets.config['path_sep_replace'].as_str()
|
||||
for sep in (os.path.sep, os.path.altsep):
|
||||
if sep:
|
||||
|
|
|
|||
Loading…
Reference in a new issue