Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Jan 10, 2025
1 parent cc758bf commit 010ff02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findmy/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def is_from(self, other_device: HasPublicKey | RollingKeyPairSource) -> bool:
self.detected_at + timedelta(hours=1),
)
return any(self.is_from(key) for key in potential_keys)

msg = f"Cannot compare against {type(other_device)}"
raise ValueError(msg)

Expand Down

0 comments on commit 010ff02

Please # to comment.