From 8dad7fa67fc19dae6e33101fcafa9f4bb3458cd3 Mon Sep 17 00:00:00 2001 From: Gunther Schmidl Date: Sat, 25 Jul 2020 20:26:21 +0200 Subject: [PATCH] fix linting error again --- beets/dbcore/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 595078c42..38fbae3bc 100755 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -85,8 +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: