diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-02-24 20:04:03 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-02-24 20:04:03 +0100 |
commit | 4e704c27a7014d0b1cd660b9f5c233787a798c14 (patch) | |
tree | 28fdf35c22d5fbdfe310a427c90e9c31ae86744e /whatmaps/systemd.py | |
parent | a2e8aeb34bc615cc9c0082951721971bb141f20a (diff) | |
parent | 11ca10034c04267da8b00d2ef940b0548a13ef42 (diff) |
Merge branch 'master' into debian/master
Diffstat (limited to 'whatmaps/systemd.py')
-rw-r--r-- | whatmaps/systemd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/systemd.py b/whatmaps/systemd.py index ef15a26..9bc03b1 100644 --- a/whatmaps/systemd.py +++ b/whatmaps/systemd.py @@ -38,7 +38,7 @@ class Systemd(object): if systemctl_status.returncode: return None else: - parts = output.split() + parts = output.decode('utf-8').split() if parts[0].endswith('.service'): return parts[0] elif parts[1].endswith('.service'): |