aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Moiseev <m0sia@m0sia.ru>2013-12-13 17:34:32 +0600
committerDmitry Moiseev <m0sia@m0sia.ru>2013-12-13 17:34:32 +0600
commit52c4b7cb92c0cc57a7b4705630ef57d0afab2932 (patch)
tree7e7f6a02c023d4f8cb6368aa444917e9ccdf2e8d
parent541b7204101fc489ac6e9e92c00e0458890583dd (diff)
downloadpyParrotZikTCP-52c4b7cb92c0cc57a7b4705630ef57d0afab2932.tar.xz
pyParrotZikTCP-52c4b7cb92c0cc57a7b4705630ef57d0afab2932.zip
fix improper win32 mac address search
-rw-r--r--BluetoothPairedDevices.py2
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]