bugfix: wrong indentation level for prompt_password.

This commit is contained in:
Amir Taaki 2012-08-20 10:12:16 +01:00
parent 2598e89d00
commit c9ed01e90b
1 changed files with 1 additions and 2 deletions

View File

@ -199,8 +199,7 @@ if __name__ == '__main__':
if cmd in ['create', 'restore']:
if wallet.file_exists:
sys.exit("Error: Remove the existing wallet first!")
password = prompt_password("Password (hit return if you do not wish to encrypt your wallet):")
password = prompt_password("Password (hit return if you do not wish to encrypt your wallet):")
w_host, w_port, w_protocol = wallet.server.split(':')
host = raw_input("server (default:%s):"%w_host)