diff options
Diffstat (limited to 'src/python-systemd')
-rw-r--r-- | src/python-systemd/journal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py index d0bcd24d15..9c7e0045e5 100644 --- a/src/python-systemd/journal.py +++ b/src/python-systemd/journal.py @@ -352,6 +352,8 @@ def get_catalog(mid): def _make_line(field, value): if isinstance(value, bytes): return field.encode('utf-8') + b'=' + value + elif isinstance(value, int): + return field + '=' + str(value) else: return field + '=' + value |