We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ca8ff8 commit a343018Copy full SHA for a343018
bittensor_cli/cli.py
@@ -3352,7 +3352,7 @@ def stake_add(
3352
)
3353
else:
3354
netuid_ = get_optional_netuid(None, all_netuids)
3355
- netuids = [netuid_] if netuid_ else None
+ netuids = [netuid_] if netuid_ is not None else None
3356
if netuids:
3357
for netuid_ in netuids:
3358
# ensure no negative netuids make it into our list
0 commit comments