Closed glefait closed 2 months ago
With option to filter folders is set and a folder matches the filter, there is a typo in the incremented counter.
The counter should be self.stats[f"num_{result_type}s_filtered"] and not self.stats[f"{result_type}s_filtered"].
self.stats[f"num_{result_type}s_filtered"]
self.stats[f"{result_type}s_filtered"]
The latter does not exists and trigger the following error:
KeyError: 'folders_filtered'
With option to filter folders is set and a folder matches the filter, there is a typo in the incremented counter.
The counter should be
self.stats[f"num_{result_type}s_filtered"]
and notself.stats[f"{result_type}s_filtered"]
.The latter does not exists and trigger the following error: