Skip to content

Commit

Permalink
Merge pull request #59 from BrianPugh/fix-marked-decorator
Browse files Browse the repository at this point in the history
Fix decorated method instantiation during init.
  • Loading branch information
BrianPugh authored Nov 30, 2022
2 parents fc91038 + 5f950ac commit af3f06c
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 af3f06c

Please sign in to comment.