aboutsummaryrefslogtreecommitdiff
path: root/whatmaps/systemd.py
diff options
context:
space:
mode:
Diffstat (limited to 'whatmaps/systemd.py')
-rw-r--r--whatmaps/systemd.py2
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'):