mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
got rid of print_error
This commit is contained in:
parent
a6239764d2
commit
25ad5fcd06
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ def prompt_password(prompt, confirm=True):
|
||||||
password2 = getpass.getpass("Confirm: ")
|
password2 = getpass.getpass("Confirm: ")
|
||||||
|
|
||||||
if password != password2:
|
if password != password2:
|
||||||
print_error("Error: Passwords do not match.")
|
sys.exit("Error: Passwords do not match.")
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
password = raw_input(prompt)
|
password = raw_input(prompt)
|
||||||
|
|
Loading…
Add table
Reference in a new issue