Fixed data type of journal flags from str to int

pull/2119/head
Jan Sušnik 7 years ago committed by sebres
parent df33322f9f
commit 54a04b3a6a

@ -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…
Cancel
Save