ble.py - adding missing import big whoopsie me
This commit is contained in:
1 parent
c8d09afeb8
commit
b6ebdf67d8
1 file changed
+2
-1
+2
-1
@@ -290,7 +290,8 @@ def test(test_count = 0, bt_usb_id = None) -> None:
|
|||||||
log.info(f" Scanning MACs: {mac_list}")
|
log.info(f" Scanning MACs: {mac_list}")
|
||||||
test_list = mac_list
|
test_list = mac_list
|
||||||
# History buffer - keep the last N snapshots (N=5)
|
# History buffer - keep the last N snapshots (N=5)
|
||||||
print("Creating histor variable")
|
print("Creating history variable")
|
||||||
|
from collections import deque
|
||||||
history = deque(maxlen=5)
|
history = deque(maxlen=5)
|
||||||
print("Done")
|
print("Done")
|
||||||
prev_list_snapshot = None
|
prev_list_snapshot = None
|
||||||
|
|||||||
Reference in new issue
Block a user