Fix syntax

This commit is contained in:
Kevin Alberts 2019-05-27 23:49:54 +02:00
parent 8de3064953
commit aefcecd30e
Signed by: Kurocon
GPG key ID: BCD496FEBA0C6BC1

View file

@ -155,7 +155,7 @@ def bluetooth_audio_sink():
output = subprocess.check_output("pamixer --list-sinks".split()).decode("utf-8")
output = [x for x in output.split('\n') if "blue" in x.lower()]
return -1
except subprocess.CalledProcessError, FileNotFoundError:
except (subprocess.CalledProcessError, FileNotFoundError):
sink = -1
try: