Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Getting an AttributeError if I did not provide any subcommand #3

Open
bloodpet opened this issue Sep 28, 2018 · 3 comments
Open

Getting an AttributeError if I did not provide any subcommand #3

bloodpet opened this issue Sep 28, 2018 · 3 comments
Assignees
Labels

Comments

@bloodpet
Copy link

When I run with just:
$ authenticator

I get this output:

Traceback (most recent call last):
File "/usr/local/bin/authenticator", line 11, in
sys.exit(authenticator_command())
File "/usr/local/lib/python3.5/dist-packages/authenticator/cli.py", line 1241, in authenticator_command
m.execute()
File "/usr/local/lib/python3.5/dist-packages/authenticator/cli.py", line 1198, in execute
if self.args.subcmd not in (
AttributeError: 'Namespace' object has no attribute 'subcmd'

It would be nice to see the usage instead.

@JeNeSuisPasDave
Copy link
Owner

I hope to fix this before end of 2019. Sorry, but I didn't notice this issue before today. :-(

@4-0-4-notfound
Copy link

same here

@bloodpet
Copy link
Author

@JeNeSuisPasDave you could merge the PR if that's acceptable. It's a decent fix :)

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

No branches or pull requests

3 participants