Skip to content

Commit

Permalink
fix: items not values
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Sep 15, 2022
1 parent c6ef882 commit 93ed41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbus_fast/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def unpack_variants(data: Any):
if isinstance(data, Variant):
return unpack_variants(data.value)
if isinstance(data, dict):
return {k: unpack_variants(v) for k, v in data.values()}
return {k: unpack_variants(v) for k, v in data.items()}
if isinstance(data, list):
return [unpack_variants(item) for item in data]
return data
Expand Down

0 comments on commit 93ed41d

Please sign in to comment.