Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
opendansor committed Jun 11, 2024
1 parent bf1a27b commit ed3c69c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bittensor/commands/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,11 @@ def _run(
or cli.config.param == "network_pow_registration_allowed"
or cli.config.param == "commit_reveal_weights_enabled"
):
cli.config.value = True if (cli.config.value.lower() == "true" or cli.config.value == "1") else False
cli.config.value = (
True
if (cli.config.value.lower() == "true" or cli.config.value == "1")
else False
)

subtensor.set_hyperparameter(
wallet,
Expand Down

0 comments on commit ed3c69c

Please sign in to comment.