kozaka-tv / Rocksmith-Servant

MIT License
6 stars 5 forks source link

__scan_cdlc_files_in_download_dirs discards only one dir and returns nothing #260

Closed ZsannaK closed 3 months ago

ZsannaK commented 3 months ago

Lets say, we define 4 download directory, from which one 2 are not available (like remote network dirves), then the algorythm will catch the BadDirectoryError one time and returns nothing. At next run (endles loop), it will get the same exception but for the second directory not available.

It would be better, if every such directory here will be discarded.

And if nothing found, an empty list is returned, rather than nothing (or None).