mirror of
https://github.com/jpec/fail2ban-report.git
synced 2024-12-22 05:22:13 +01:00
fix indent in fail2ban-getlog
This commit is contained in:
parent
b4d73d4e1b
commit
420af736c6
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ else:
|
||||||
old = []
|
old = []
|
||||||
for l in f_old:
|
for l in f_old:
|
||||||
old.append(l[0:-1])
|
old.append(l[0:-1])
|
||||||
f_old.close()
|
f_old.close()
|
||||||
print(len(old), "existing line(s).")
|
print(len(old), "existing line(s).")
|
||||||
f_in = open(F_LOG, "r")
|
f_in = open(F_LOG, "r")
|
||||||
f_out = open(argv[1], "a+")
|
f_out = open(argv[1], "a+")
|
||||||
c = 0
|
c = 0
|
||||||
|
|
Loading…
Reference in a new issue