From aefcecd30e0400917040514cbfa2630537138a92 Mon Sep 17 00:00:00 2001 From: Kevin Alberts Date: Mon, 27 May 2019 23:49:54 +0200 Subject: [PATCH] Fix syntax --- kuro/utils/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kuro/utils/general.py b/kuro/utils/general.py index d9eb529..4e69b2f 100644 --- a/kuro/utils/general.py +++ b/kuro/utils/general.py @@ -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: