mirror of
https://github.com/beetbox/beets.git
synced 2025-12-31 21:12:43 +01:00
remove a redundant slash pointed out by @mrmachine
This commit is contained in:
parent
be83c38320
commit
b6e7e41269
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ def albums_in_dir(path):
|
|||
# and move on to the next directory. If not, stop collapsing.
|
||||
if collapse_paths:
|
||||
if (not collapse_pat and collapse_paths[0] in ancestry(root)) or \
|
||||
(collapse_pat and \
|
||||
(collapse_pat and
|
||||
collapse_pat.match(os.path.basename(root))):
|
||||
# Still collapsing.
|
||||
collapse_paths.append(root)
|
||||
|
|
|
|||
Loading…
Reference in a new issue