Skip to content

Commit

Permalink
fix: items not keys
Browse files Browse the repository at this point in the history
  • Loading branch information
mdegat01 committed Sep 15, 2022
1 parent 6b0f646 commit eced049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbus_fast/proxy_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def on_signal_fn(fn):
fn_signature = inspect.signature(fn)
if len(fn_signature.parameters) != len(intr_signal.args) and (
inspect.Parameter.VAR_POSITIONAL
not in [par.kind for par in fn_signature.parameters]
not in [par.kind for _, par in fn_signature.parameters.items()]
or len(fn_signature.parameters) - 1 > len(intr_signal.args)
):
raise TypeError(
Expand Down

0 comments on commit eced049

Please sign in to comment.