Actually call the right function
This commit is contained in:
parent
769f8508a4
commit
6b6e38ab5a
@ -108,7 +108,7 @@ void findSeasons(std::map<int, std::set<std::string>> &seasons, const std::strin
|
|||||||
size_t season_pos{std::string::npos}; // season_pos - position of first digit of the season
|
size_t season_pos{std::string::npos}; // season_pos - position of first digit of the season
|
||||||
for( const auto p: FSLib::Directory(path) ) {
|
for( const auto p: FSLib::Directory(path) ) {
|
||||||
if(FSLib::isDirectory(path + "/" + p)) {
|
if(FSLib::isDirectory(path + "/" + p)) {
|
||||||
iterateFS(seasons, path + "/" + p);
|
findSeasons(seasons, path + "/" + p, season_numbers);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user