Closed rhnvrm closed 7 years ago
for dirpath, _, _ in walk('.'):
chdir(dirpath)
revert_music()
chdir is a wrong method, since after getting into first nested directory, musicrepair can't go into the second nested directory. Thanks for pointing this out. I'll rather pass in the path's of the folders as arguments to rever_music() than change directories altogether.
@lakshaykalbhor: I'm working on a fix, and will send a PR in a few minutes.
Suppose you have a tree like:
Music repair will only fix I Hate U, I Love U by Gnash.