Skip to content

Commit

Permalink
Merge pull request #1849 from opentensor/fix/console-error-change/the…
Browse files Browse the repository at this point in the history
…whaleking

Change: console.error => console.print
  • Loading branch information
thewhaleking committed May 7, 2024
2 parents cfc375f + 000b926 commit 9950272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bittensor/extrinsics/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def register_extrinsic(
if cuda:
if not torch.cuda.is_available():
if prompt:
bittensor.__console__.error("CUDA is not available.")
bittensor.__console__.print("CUDA is not available.")
return False
pow_result: Optional[POWSolution] = create_pow(
subtensor,
Expand Down Expand Up @@ -396,7 +396,7 @@ def run_faucet_extrinsic(
if cuda:
if not torch.cuda.is_available():
if prompt:
bittensor.__console__.error("CUDA is not available.")
bittensor.__console__.print("CUDA is not available.")
return False
pow_result: Optional[POWSolution] = create_pow(
subtensor,
Expand Down

0 comments on commit 9950272

Please sign in to comment.