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