mirror of
https://github.com/beetbox/beets.git
synced 2025-12-17 22:23:16 +01:00
tiny line wrap change
This commit is contained in:
parent
7456ebf38b
commit
be83c38320
1 changed files with 3 additions and 3 deletions
|
|
@ -67,9 +67,9 @@ def albums_in_dir(path):
|
|||
# and add the current directory. If so, just add the directory
|
||||
# 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.match(os.path.basename(root))):
|
||||
if (not collapse_pat and collapse_paths[0] in ancestry(root)) or \
|
||||
(collapse_pat and \
|
||||
collapse_pat.match(os.path.basename(root))):
|
||||
# Still collapsing.
|
||||
collapse_paths.append(root)
|
||||
collapse_items += items
|
||||
|
|
|
|||
Loading…
Reference in a new issue