diff options
-rw-r--r-- | parrot_zik/bluetooth_paired_devices.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parrot_zik/bluetooth_paired_devices.py b/parrot_zik/bluetooth_paired_devices.py index 1618366..6ef36ab 100644 --- a/parrot_zik/bluetooth_paired_devices.py +++ b/parrot_zik/bluetooth_paired_devices.py @@ -93,6 +93,8 @@ def get_parrot_zik_mac_linux(): return bluez_manager.get_mac() else: raise BluetoothIsNotOn + except dbus.exceptions.DBusException: + raise BluetoothIsNotOn except OSError as e: if e.errno == 2: bluetoothcmd_manager = BluetoothCmdDeviceManager() |