mirror of https://github.com/fail2ban/fail2ban
Fixed data type of journal flags from str to int
parent
df33322f9f
commit
54a04b3a6a
|
@ -87,7 +87,7 @@ class FilterSystemd(JournalFilter): # pragma: systemd no cover
|
||||||
args['files'] = list(set(files))
|
args['files'] = list(set(files))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
args['flags'] = kwargs.pop('journalflags')
|
args['flags'] = int(kwargs.pop('journalflags'))
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue