Skip to content

Commit

Permalink
Updates doc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem-opentensor committed Sep 24, 2024
1 parent 7bd8731 commit a037203
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bittensor_cli/src/commands/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,11 +764,10 @@ async def _get_list() -> tuple:
border_style="bright_black",
leading=True,
)


if not root_neurons:
err_console.print(
f"[red]Error: No neurons detected on network:[/red] [white]{subtensor}"
f"[red]Error: No neurons detected on the network:[/red] [white]{subtensor}"
)
raise typer.Exit()

Expand Down Expand Up @@ -1506,10 +1505,10 @@ async def wallet_to_delegates(
)
if console.width < 150:
console.print(
"[yellow]Warning: Your terminal width might be too small to view all information clearly"
"[yellow]Warning: Your terminal width might be too small to view all the information clearly"
)
console.print(table)
console.print(f"Total delegated Tao: {total_delegated}")
console.print(f"Total delegated TAO: {total_delegated}")


async def list_delegates(subtensor: SubtensorInterface):
Expand Down

0 comments on commit a037203

Please sign in to comment.