Commit bc08f9b4 authored by Martin Krajnak's avatar Martin Krajnak
Browse files

Prevent TypeError with Python3 by decoding a byte-like object to string

parent 77965b83
Pipeline #29292446 failed with stages
in 0 seconds
......@@ -409,7 +409,7 @@ class GnomeShell(object): # pragma: no cover
# a problem with this version of GS misreporting the positions
from subprocess import check_output
if 'Fedora release 25' in check_output('cat /etc/redhat-release', shell=True):
if 'Fedora release 25' in check_output('cat /etc/redhat-release', shell=True).decode('utf-8'):
xoffset = -130
from dogtail.rawinput import click
nd = self.getApplicationMenuButton(app_name)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment