mirror of https://github.com/fail2ban/fail2ban
python3 compatibility fix
parent
c1637e97b2
commit
0dce32405f
|
@ -717,7 +717,7 @@ class FileFilter(Filter):
|
|||
lasti = 0
|
||||
movecntr = 3
|
||||
while maxp > minp:
|
||||
i = minp + (maxp - minp) / 2
|
||||
i = round(minp + (maxp - minp) / 2)
|
||||
pos = container.seek(i)
|
||||
cntr += 1
|
||||
# within next 5 lines try to find any legal datetime:
|
||||
|
|
Loading…
Reference in New Issue