Skip to content

Commit

Permalink
fix indents with return
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Sep 1, 2023
1 parent b015862 commit 4e18686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bittensor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,11 @@ def check_config(config: "bittensor.config"):
if isinstance(command_data, dict):
if config["subcommand"] != None:
command_data["commands"][config["subcommand"]].check_config(config)
return
else:
command_data.check_config(config)
return

console.print(f":cross_mark:[red]Unknown command: {config.command}[/red]")
sys.exit(1)

Expand Down

0 comments on commit 4e18686

Please sign in to comment.