diff options
author | Dmitry Moiseev <m0sia@m0sia.ru> | 2013-12-13 17:34:32 +0600 |
---|---|---|
committer | Dmitry Moiseev <m0sia@m0sia.ru> | 2013-12-13 17:34:32 +0600 |
commit | 52c4b7cb92c0cc57a7b4705630ef57d0afab2932 (patch) | |
tree | 7e7f6a02c023d4f8cb6368aa444917e9ccdf2e8d | |
parent | 541b7204101fc489ac6e9e92c00e0458890583dd (diff) | |
download | pyParrotZikTCP-52c4b7cb92c0cc57a7b4705630ef57d0afab2932.tar.xz pyParrotZikTCP-52c4b7cb92c0cc57a7b4705630ef57d0afab2932.zip |
fix improper win32 mac address search
Diffstat (limited to '')
-rw-r--r-- | BluetoothPairedDevices.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |