Replace subprocess encoding param for python3.5 support
This commit is contained in:
parent
988551b3aa
commit
c840e2fd26
|
@ -65,7 +65,7 @@ class FynnWacom:
|
|||
@staticmethod
|
||||
def _call(cmd):
|
||||
# print(" >> Calling: ", " ".join(cmd))
|
||||
return subprocess.check_output(cmd, encoding='utf-8')
|
||||
return subprocess.check_output(cmd).decode()
|
||||
|
||||
def guess_devices(self, subname):
|
||||
found = False
|
||||
|
|
Loading…
Reference in New Issue