Skip to content

Commit

Permalink
chore: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed Sep 19, 2023
1 parent 1131d83 commit aea5c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mknodes/utils/clihelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _make_usage(ctx: click.Context) -> str:
full_path = []
current: click.Context | None = ctx
while current is not None:
name = current.command.name.lower()
name = current.command.name.lower() if current.command.name else ""
full_path.append(name)
current = current.parent

Expand Down

0 comments on commit aea5c01

Please sign in to comment.