Skip to content

Commit

Permalink
Update src/textual/message_pump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigogiraoserrao authored Jun 6, 2023
1 parent 2057c46 commit a26b0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/message_pump.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __new__(

# Look for reactives with public AND private compute methods.
prefix = "compute_"
prefix_len = len("compute_")
prefix_len = len(prefix)
for attr_name, value in class_dict.items():
if attr_name.startswith(prefix) and callable(value):
reactive_name = attr_name[prefix_len:]
Expand Down

0 comments on commit a26b0fd

Please sign in to comment.