mirror of
https://github.com/PurpleI2P/i2pd-tools
synced 2025-02-05 19:24:13 +00:00
more
This commit is contained in:
parent
4c5c4c953c
commit
628ba2a047
@ -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…
x
Reference in New Issue
Block a user