From e5d77cebe5191c861a6af74abb66903b353486ec Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Tue, 30 Aug 2022 18:33:39 -0400 Subject: [PATCH] Update for CircuitPython 8.0.0 --- adafruit_ble/advertising/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_ble/advertising/__init__.py b/adafruit_ble/advertising/__init__.py index bf2060b..a5d681a 100644 --- a/adafruit_ble/advertising/__init__.py +++ b/adafruit_ble/advertising/__init__.py @@ -326,7 +326,7 @@ def matches_prefixes(cls, entry: ScanEntry, *, all_: bool) -> bool: returns ``True`` if at least one of the prefixes match. """ # Returns True if cls.get_prefix_bytes() is empty. - return entry.matches(cls.get_prefix_bytes(), all=all_) + return entry.matches(cls.get_prefix_bytes(), match_all=all_) def __bytes__(self) -> bytes: """The raw packet bytes."""