From 52c4b7cb92c0cc57a7b4705630ef57d0afab2932 Mon Sep 17 00:00:00 2001 From: Dmitry Moiseev Date: Fri, 13 Dec 2013 17:34:32 +0600 Subject: fix improper win32 mac address search --- BluetoothPairedDevices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BluetoothPairedDevices.py b/BluetoothPairedDevices.py index da6ecae..8e87c3d 100644 --- a/BluetoothPairedDevices.py +++ b/BluetoothPairedDevices.py @@ -28,7 +28,7 @@ def ParrotZikMac(): try: asubkey_name=_winreg.EnumKey(aKey,i) mac =':'.join(asubkey_name[i:i+2] for i in range(0,12,2)) - res = self.p.findall(mac) + res = p.findall(mac) if len(res)>0: return res[0] -- cgit v1.2.1