diff options
Diffstat (limited to 'src/python-systemd/journal.py')
-rw-r--r-- | src/python-systemd/journal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py index d61c30e124..5c5f5ca05b 100644 --- a/src/python-systemd/journal.py +++ b/src/python-systemd/journal.py @@ -113,7 +113,7 @@ class Journal(_Journal): # Default conversion in unicode try: result = _convert_unicode(value) - except: + except UnicodeDecodeError: # Leave in default bytes result = value return result |