diff options
author | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-15 01:10:40 +0200 |
---|---|---|
committer | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-15 01:20:11 +0200 |
commit | ffa76dd958282735c1b39793351a075a3d1a64ac (patch) | |
tree | 99593c6c6e09a6228c4a7172f773779e77f7e6f3 /ParrotZikTray | |
parent | 21cf625f6970c001c9f14bdbc603a104e544b9e1 (diff) | |
download | pyParrotZikTCP-ffa76dd958282735c1b39793351a075a3d1a64ac.tar.xz pyParrotZikTCP-ffa76dd958282735c1b39793351a075a3d1a64ac.zip |
Refactor.
Diffstat (limited to 'ParrotZikTray')
-rwxr-xr-x | ParrotZikTray | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ParrotZikTray b/ParrotZikTray index 6850a3f..e43ac90 100755 --- a/ParrotZikTray +++ b/ParrotZikTray @@ -3,12 +3,12 @@ import functools import gtk -import BluetoothPairedDevices +import bluetooth_paired_devices from ParrotZik import BatteryStates from ParrotZik import ParrotZikVersion1 from ParrotZik import ParrotZikVersion2 from ParrotZik import NoiseControlTypes -from ParrotZik import connect +from bluetooth_paired_devices import connect from ParrotZik import Rooms from SysIndicator import MenuItem from SysIndicator import Menu @@ -67,7 +67,7 @@ class ParrotZikIndicator(SysIndicator): else: self.reconnect.stop() else: - mac = BluetoothPairedDevices.ParrotZikMac() + mac = bluetooth_paired_devices.get_parrot_zik_mac() if mac: self.info_item.set_label("Connecting") resource_manager = connect(mac) |