Permalink
Browse files

Fixed song detection: subdirectories no longer cause a song directory…

… to be skipped.
  • Loading branch information...
1 parent 8307937 commit 032682dd154c8c5fe1444c6d99c93195ac6a6694 @Vultaire committed Jun 10, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 r21buddy/r21buddy.py
View
@@ -48,9 +48,8 @@ def copy_songs(input_path, target_dir, verbose=False):
if len(dirs) > 0:
for d in dirs:
copy_songs(d, target_dir, verbose=verbose)
- return
- # Otherwise, check whether this is a song directory.
+ # Check whether this is a song directory.
files = [f for f in all_files if os.path.isfile(f)]
stepfile_exists = any(
(f.endswith(".sm") or f.endswith(".dwi"))

0 comments on commit 032682d

Please sign in to comment.