Skip to content

Commit 600b596

Browse files
committed
change run_command decode
In the next link can be found detailed information about this https://www.deanishe.net/alfred-workflow/guide/text-encoding.html#tl-dr
1 parent 20d659e commit 600b596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluetooth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, wf):
4545

4646
def _run_command(self, command):
4747
log.debug('Command: "%s"' % ' '.join(command))
48-
output = run_command(command).strip().decode('utf-8')
48+
output = self._wf.decode(run_command(command)).strip()
4949
log.debug('Command result: "%s"' % output)
5050
return output
5151

0 commit comments

Comments
 (0)