Skip to content

Fix name of @cmd_group.result_callback()#20

Open
markvels wants to merge 2 commits intowallneradam:mainfrom
markvels:priv/fix-result_callback
Open

Fix name of @cmd_group.result_callback()#20
markvels wants to merge 2 commits intowallneradam:mainfrom
markvels:priv/fix-result_callback

Conversation

@markvels
Copy link
Copy Markdown

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant