diff --git a/functions.cpp b/functions.cpp index ac6c1da..54b8941 100644 --- a/functions.cpp +++ b/functions.cpp @@ -108,7 +108,7 @@ void findSeasons(std::map> &seasons, const std::strin size_t season_pos{std::string::npos}; // season_pos - position of first digit of the season for( const auto p: FSLib::Directory(path) ) { if(FSLib::isDirectory(path + "/" + p)) { - iterateFS(seasons, path + "/" + p); + findSeasons(seasons, path + "/" + p, season_numbers); continue; }