From 530e4f8645f2244916a3ba3aee9adde1370e5a50 Mon Sep 17 00:00:00 2001 From: Cameron Fairchild Date: Thu, 8 Jun 2023 09:56:49 -0400 Subject: [PATCH] add not --- bittensor/_cli/commands/unstake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bittensor/_cli/commands/unstake.py b/bittensor/_cli/commands/unstake.py index dfb26e369e..17b1fb9dbb 100644 --- a/bittensor/_cli/commands/unstake.py +++ b/bittensor/_cli/commands/unstake.py @@ -28,7 +28,7 @@ class UnStakeCommand: @classmethod def check_config( cls, config: 'bittensor.Config' ): - if config.is_set('wallet.name') and not config.no_prompt: + if not config.is_set('wallet.name') and not config.no_prompt: wallet_name = Prompt.ask("Enter wallet name", default = bittensor.defaults.wallet.name) config.wallet.name = str(wallet_name)