From c12fffe98e1ac11f8bd1c692643d576b1e5e4200 Mon Sep 17 00:00:00 2001 From: "Mike A." Date: Mon, 15 Jul 2024 17:03:05 +0200 Subject: [PATCH] scanner: fix pyright failing --- findmy/scanner/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/findmy/scanner/scanner.py b/findmy/scanner/scanner.py index f3204f0..6eb7ed9 100644 --- a/findmy/scanner/scanner.py +++ b/findmy/scanner/scanner.py @@ -102,7 +102,7 @@ def __eq__(self, other: object) -> bool: @override def __hash__(self) -> int: - return int.from_bytes(self._mac_bytes) + return int.from_bytes(self._mac_bytes, "big") class NearbyOfflineFindingDevice(OfflineFindingDevice):