From 4ba00c00067be47e0faad2a198cac938e01341d5 Mon Sep 17 00:00:00 2001 From: m0sia Date: Wed, 21 Mar 2018 16:44:03 -0500 Subject: dbus is only available on linux --- parrot_zik/bluetooth_paired_devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parrot_zik/bluetooth_paired_devices.py b/parrot_zik/bluetooth_paired_devices.py index ba9ac9d..82348a5 100644 --- a/parrot_zik/bluetooth_paired_devices.py +++ b/parrot_zik/bluetooth_paired_devices.py @@ -1,4 +1,3 @@ -import dbus import sys import re from subprocess import Popen, PIPE, STDOUT @@ -10,6 +9,7 @@ if sys.platform == "darwin": import lightblue else: import bluetooth + import dbus if sys.platform == "win32": import _winreg -- cgit v1.2.1