Skip to content

Commit

Permalink
resolve the can't client can't send a mixed-type tuple bug
Browse files Browse the repository at this point in the history
  • Loading branch information
charleseidsness committed Nov 4, 2023
1 parent 1804484 commit 2511b0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adbus/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# == Copyright: 2017-2023, CCX Technologies

__version__ = "1.2.5"
__version__ = "1.2.6"
2 changes: 1 addition & 1 deletion adbus/sdbus/signature.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ cdef object _object_cast(bytes signature, object obj):
else:
return [_object_cast(signature[1:], v) for v in obj]
elif signature[0] == sdbus_h.SD_BUS_TYPE_STRUCT_BEGIN:
return tuple([_object_cast(signature[2:], v) for v in obj])
return tuple([_object_cast(signature[1+i:2+i], v) for i, v in enumerate(obj)])

else:
return _object_cast_basic(signature, obj)
Expand Down

0 comments on commit 2511b0b

Please sign in to comment.