ble.py - adding missing import big whoopsie me

This commit is contained in:
matt committed 2026-10-18 04:58:18 -07:00
1 parent c8d09afeb8
commit b6ebdf67d8
1 file changed
+2 -1
+2 -1
View File
@@ -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