aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]