Fix syntax
This commit is contained in:
parent
8de3064953
commit
aefcecd30e
|
@ -155,7 +155,7 @@ def bluetooth_audio_sink():
|
||||||
output = subprocess.check_output("pamixer --list-sinks".split()).decode("utf-8")
|
output = subprocess.check_output("pamixer --list-sinks".split()).decode("utf-8")
|
||||||
output = [x for x in output.split('\n') if "blue" in x.lower()]
|
output = [x for x in output.split('\n') if "blue" in x.lower()]
|
||||||
return -1
|
return -1
|
||||||
except subprocess.CalledProcessError, FileNotFoundError:
|
except (subprocess.CalledProcessError, FileNotFoundError):
|
||||||
|
|
||||||
sink = -1
|
sink = -1
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue