Skip to content

Commit

Permalink
fixed scan folders bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienPensart committed Nov 20, 2023
1 parent 558cdd7 commit 0fcee41
Show file tree
Hide file tree
Showing 3 changed files with 195 additions and 283 deletions.
6 changes: 3 additions & 3 deletions doc/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion musicbot/commands/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async def scan(
MusicbotObject.print_json([asdict(file.music) for file in files if file.music is not None])

if save:
MusicbotObject.config.configfile["musicbot"]["folders"] = folders.unique_directories
MusicbotObject.config.configfile["musicbot"]["folders"] = scan_folders.unique_directories
MusicbotObject.config.write()


Expand Down
Loading

0 comments on commit 0fcee41

Please sign in to comment.