fix for non-latin symbols in GPM module
This commit is contained in:
parent
4f21ccb875
commit
612c3605b5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue