Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix name of @cmd_group.result_callback() #20

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

markvels
Copy link

@markvels markvels commented Jun 4, 2024

When I tried to run a simple command of tc420, I get an error about a name resolution:

Traceback (most recent call last):
File "/home/user/.local/share/virtualenvs/tc420-7Nt0gyJ3/bin/tc420", line 5, in
from tc420.main import main
File "/home/user/src/tc420/tc420/main.py", line 286, in
@cmd_group.resultcallback()
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Group' object has no attribute 'resultcallback'. Did you mean: 'result_callback'?

This patch fixes this error by adjusting the name.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant