mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Fixed data type of journal flags from str to int
This commit is contained in:
parent
df33322f9f
commit
54a04b3a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class FilterSystemd(JournalFilter): # pragma: systemd no cover
|
|||
args['files'] = list(set(files))
|
||||
|
||||
try:
|
||||
args['flags'] = kwargs.pop('journalflags')
|
||||
args['flags'] = int(kwargs.pop('journalflags'))
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue