Actually call the right function

This commit is contained in:
zvon 2019-01-17 17:26:19 +01:00
parent 769f8508a4
commit 6b6e38ab5a

View File

@ -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
for( const auto p: FSLib::Directory(path) ) {
if(FSLib::isDirectory(path + "/" + p)) {
iterateFS(seasons, path + "/" + p);
findSeasons(seasons, path + "/" + p, season_numbers);
continue;
}