mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-02-08 22:13:49 +01:00
more
This commit is contained in:
parent
4c5c4c953c
commit
628ba2a047
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def baddies():
|
||||||
fmax = s.get("thresholds", "max_floodfills_per_ip", fallback=3)
|
fmax = s.get("thresholds", "max_floodfills_per_ip", fallback=3)
|
||||||
f = filter.FloodfillFilter(fmax)
|
f = filter.FloodfillFilter(fmax)
|
||||||
p = processor.BaddieProcessor([f])
|
p = processor.BaddieProcessor([f])
|
||||||
path = s.get("netdb", "directory", fallback=None)
|
path = s.get("netdb", "dir", fallback=None)
|
||||||
if path:
|
if path:
|
||||||
netdb.inspect(p.hook, path)
|
netdb.inspect(p.hook, path)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue