Skip to content

Commit

Permalink
Fix silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo committed Feb 7, 2024
1 parent 612fe63 commit 8ff3e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/real_airtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main() -> None:

for i in range(MAX_LOOKAHEAD):
prim_key, sec_key = airtag.keys_at(i)
if PUBLIC_KEY in (prim_key.adv_key_b64, prim_key.adv_key_b64):
if PUBLIC_KEY in (prim_key.adv_key_b64, sec_key.adv_key_b64):
print("KEY FOUND!!")
print(f"This key was found at index {i}."
f" It was likely paired approximately {i * 15} minutes ago.")
Expand Down

0 comments on commit 8ff3e0e

Please sign in to comment.