diff options
Diffstat (limited to 'src/plugins/xdisplay.py')
-rw-r--r-- | src/plugins/xdisplay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/xdisplay.py b/src/plugins/xdisplay.py index ca10f8b..722b144 100644 --- a/src/plugins/xdisplay.py +++ b/src/plugins/xdisplay.py @@ -60,5 +60,5 @@ class XDisplay: self.screen = None if self.screen == '' else int(self.screen) r = get_screen().root d = get_display() - self.vt = r.get_full_property(d.get_atom('XFree86_VT'), Xlib.Xatom.INTEGER).value[0] + self.vt = r.get_full_property(d.get_atom('XFree86_VT'), Xlib.Xatom.INTEGER).value.decode('utf-8', 'replace')[0] |