make pickle load show macs
This commit is contained in:
1 parent
bad2d7f970
commit
978d525d76
1 file changed
+2
@@ -58,6 +58,8 @@ def load_state() -> None:
|
|||||||
global _sensors_cache
|
global _sensors_cache
|
||||||
_sensors_cache = state.get("sensors", [])
|
_sensors_cache = state.get("sensors", [])
|
||||||
print("[Scanner] Loaded state from", STATE_FILE)
|
print("[Scanner] Loaded state from", STATE_FILE)
|
||||||
|
for cached_mac in _mac_cache:
|
||||||
|
print(f"Found {cached_mac}")
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
print("[Scanner] Warning: could not load state:", exc)
|
print("[Scanner] Warning: could not load state:", exc)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user