Skip to content

Commit

Permalink
feat: speed up processing bluez passive advertisements (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Dec 9, 2022
1 parent 5b0d9d0 commit fb0cc35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dbus_fast/_private/unmarshaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,9 @@ def _read_body(self) -> None:
elif signature == "a{oa{sa{sv}}}":
tree = SIGNATURE_TREE_A_OA_SA_SV
body = [self._read_array(SIGNATURE_TREE_A_OA_SA_SV_TYPES_0)]
elif signature == "o":
tree = SIGNATURE_TREE_O
body = [self._read_string_unpack()]
else:
tree = get_signature_tree(signature)
body = [self._readers[t.token](self, t) for t in tree.types]
Expand Down

0 comments on commit fb0cc35

Please sign in to comment.