Browse Source

Replace subprocess encoding param for python3.5 support

Sebastian Lohff 1 year ago
parent
commit
c840e2fd26
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      fynncom/fynncom.py

+ 1
- 1
fynncom/fynncom.py View File

@@ -65,7 +65,7 @@ class FynnWacom:
65 65
     @staticmethod
66 66
     def _call(cmd):
67 67
         # print(" >> Calling: ", " ".join(cmd))
68
-        return subprocess.check_output(cmd, encoding='utf-8')
68
+        return subprocess.check_output(cmd).decode()
69 69
 
70 70
     def guess_devices(self, subname):
71 71
         found = False

Loading…
Cancel
Save