aboutsummaryrefslogtreecommitdiff
path: root/parrot_zik
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--parrot_zik/bluetooth_paired_devices.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/parrot_zik/bluetooth_paired_devices.py b/parrot_zik/bluetooth_paired_devices.py
index 82348a5..5f5d443 100644
--- a/parrot_zik/bluetooth_paired_devices.py
+++ b/parrot_zik/bluetooth_paired_devices.py
@@ -9,7 +9,8 @@ if sys.platform == "darwin":
import lightblue
else:
import bluetooth
- import dbus
+ if sys.platform in ['linux', 'linux2']:
+ import dbus
if sys.platform == "win32":
import _winreg