From 612c3605b50e3aee5ad39c361f68b4c34e5486df Mon Sep 17 00:00:00 2001 From: graynk Date: Mon, 24 Apr 2017 22:12:00 +0500 Subject: [PATCH] fix for non-latin symbols in GPM module --- bumblebee/modules/gpmdp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bumblebee/modules/gpmdp.py b/bumblebee/modules/gpmdp.py index 36988e8..1bef52c 100644 --- a/bumblebee/modules/gpmdp.py +++ b/bumblebee/modules/gpmdp.py @@ -52,7 +52,7 @@ class Module(bumblebee.engine.Module): status = bumblebee.util.execute("gpmdp-remote status") except RuntimeError: pass - self._status = status.split("\n")[0].lower() - self._tags = info.split("\n")[0] + self._status = status.decode('utf-8').split("\n")[0].lower() + self._tags = info.decode('utf-8').split("\n")[0] # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4