Replace subprocess encoding param for python3.5 support

This commit is contained in:
Sebastian Lohff 2019-03-17 11:34:12 +01:00
parent 988551b3aa
commit c840e2fd26
1 changed files with 1 additions and 1 deletions

View File

@ -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