Commit 1839c0c
authored
Fix: module spider_plus with filtered folders
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"]`.
The latter does not exists and trigger the following error:
```
KeyError: 'folders_filtered'
```
Signed-off-by: Guillem Lefait <guillem.lefait@gmail.com>1 parent e76d4e9 commit 1839c0c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
0 commit comments