Skip to content

Commit 274de24

Browse files
committed
update capatalize
1 parent b7699bf commit 274de24

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

bittensor_cli/src/commands/wallets.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def associate_hotkey(
6363
if owner_ss58:
6464
if owner_ss58 == wallet.coldkeypub.ss58_address:
6565
console.print(
66-
f":white_heavy_check_mark: {hotkey_display} is already "
66+
f":white_heavy_check_mark: {hotkey_display.capitalize()} is already "
6767
f"associated with \nwallet [blue]{wallet.name}[/blue], "
6868
f"SS58: [{COLORS.GENERAL.CK}]{owner_ss58}[/{COLORS.GENERAL.CK}]"
6969
)
@@ -72,12 +72,14 @@ async def associate_hotkey(
7272
owner_wallet = _get_wallet_by_ss58(wallet.path, owner_ss58)
7373
wallet_name = owner_wallet.name if owner_wallet else "unknown wallet"
7474
console.print(
75-
f"[yellow]Warning[/yellow]: {hotkey_display} is already associated with \n"
75+
f"[yellow]Warning[/yellow]: {hotkey_display.capitalize()} is already associated with \n"
7676
f"wallet: [blue]{wallet_name}[/blue], SS58: [{COLORS.GENERAL.CK}]{owner_ss58}[/{COLORS.GENERAL.CK}]"
7777
)
7878
return False
7979
else:
80-
console.print(f"{hotkey_display} is not associated with any wallet")
80+
console.print(
81+
f"{hotkey_display.capitalize()} is not associated with any wallet"
82+
)
8183

8284
if prompt and not Confirm.ask("Do you want to continue with the association?"):
8385
return False
@@ -108,7 +110,7 @@ async def associate_hotkey(
108110
return False
109111

110112
console.print(
111-
f"[green]:white_heavy_check_mark: Successfully associated {hotkey_display} with \n"
113+
f":white_heavy_check_mark: Successfully associated {hotkey_display} with \n"
112114
f"wallet [blue]{wallet.name}[/blue], "
113115
f"SS58: [{COLORS.GENERAL.CK}]{wallet.coldkeypub.ss58_address}[/{COLORS.GENERAL.CK}]"
114116
)

0 commit comments

Comments
 (0)