Skip to content

Commit c853d89

Browse files
committed
fmt
1 parent 4c7c2d9 commit c853d89

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bittensor_cli/src/commands/subnets/subnets.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1774,8 +1774,11 @@ async def register(
17741774
# TODO make this a reusable function, also used in subnets list
17751775
# Show creation table.
17761776
table = Table(
1777-
title=f"\n[{COLOR_PALETTE['GENERAL']['HEADER']}]Register to [{COLOR_PALETTE['GENERAL']['SUBHEADING']}]netuid: {netuid}[/{COLOR_PALETTE['GENERAL']['SUBHEADING']}]"
1778-
f"\nNetwork: [{COLOR_PALETTE['GENERAL']['SUBHEADING']}]{subtensor.network}[/{COLOR_PALETTE['GENERAL']['SUBHEADING']}]\n",
1777+
title=(
1778+
f"\n[{COLOR_PALETTE.G.HEADER}]"
1779+
f"Register to [{COLOR_PALETTE.G.SUBHEAD}]netuid: {netuid}[/{COLOR_PALETTE.G.SUBHEAD}]"
1780+
f"\nNetwork: [{COLOR_PALETTE.G.SUBHEAD}]{subtensor.network}[/{COLOR_PALETTE.G.SUBHEAD}]\n"
1781+
),
17791782
show_footer=True,
17801783
show_edge=False,
17811784
header_style="bold white",

0 commit comments

Comments
 (0)