Skip to content

Commit

Permalink
Fix decorated method instantiation during init.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianPugh committed Nov 30, 2022
1 parent fc91038 commit 5f950ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion belay/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def __init__(
metadata = getattr(method, "__belay__", None)
if not metadata:
continue
executer = getattr(Executer, metadata.executer.__registry__.name)
executer = getattr(self, metadata.executer.__registry__.name)
setattr(
self,
name,
Expand Down

0 comments on commit 5f950ac

Please sign in to comment.