Skip to content

Commit 4ca8ff8

Browse files
authored
Merge pull request #523 from opentensor/fix/thewhaleking/random-broken-type-annotation
Fixed broken type annotation.
2 parents 755e3e9 + c394ec0 commit 4ca8ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor_cli/src/commands/sudo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def allowed_value(
7979
return True, value
8080

8181

82-
def string_to_bool(val) -> bool | type[ValueError]:
82+
def string_to_bool(val) -> bool:
8383
try:
8484
return {"true": True, "1": True, "0": False, "false": False}[val.lower()]
8585
except KeyError:

0 commit comments

Comments
 (0)