Skip to content

Commit 8477eb8

Browse files
authored
Merge pull request #318 from opentensor/fix/thewhaleking/alpha-str-formatting
Edge case alpha formatting
2 parents f12c6d5 + c9aed03 commit 8477eb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor_cli/src/bittensor/balances.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __str__(self):
7676
if self.unit == UNITS[0]:
7777
return f"{self.unit} {float(self.tao):,.4f}"
7878
else:
79-
return f"{float(self.tao):,.4f} {self.unit}\u200e"
79+
return f"\u200e{float(self.tao):,.4f} {self.unit}\u200e"
8080

8181
def __rich__(self):
8282
return "[green]{}[/green][green]{}[/green][green].[/green][dim green]{}[/dim green]".format(

0 commit comments

Comments
 (0)