Minor style changes
This commit is contained in:
@@ -149,7 +149,7 @@ def init_cmdline(config_options, wallet_path, server, *, config: 'SimpleConfig')
|
||||
use_encryption = True
|
||||
|
||||
# commands needing password
|
||||
if ( (cmd.requires_wallet and storage.is_encrypted() and server is False)\
|
||||
if ((cmd.requires_wallet and storage.is_encrypted() and server is False)\
|
||||
or (cmdname == 'load_wallet' and storage.is_encrypted())\
|
||||
or (cmd.requires_password and use_encryption)):
|
||||
if storage.is_encrypted_with_hw_device():
|
||||
|
||||
Reference in New Issue
Block a user