Fixed data type of journal flags from str to int

pull/2119/head
Jan Sušnik 2018-05-08 14:08:14 +02:00 committed by sebres
parent df33322f9f
commit 54a04b3a6a
1 changed files with 1 additions and 1 deletions

View File

@ -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