mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
dbb: handle password prompt cancellation better
This commit is contained in:
parent
3fb75bc606
commit
ee3ab5361e
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class DigitalBitbox_Client():
|
||||||
msg = _("Enter your Digital Bitbox password:")
|
msg = _("Enter your Digital Bitbox password:")
|
||||||
while self.password is None:
|
while self.password is None:
|
||||||
if not self.password_dialog(msg):
|
if not self.password_dialog(msg):
|
||||||
return False
|
raise UserCancelled()
|
||||||
reply = self.hid_send_encrypt(b'{"led":"blink"}')
|
reply = self.hid_send_encrypt(b'{"led":"blink"}')
|
||||||
if 'error' in reply:
|
if 'error' in reply:
|
||||||
self.password = None
|
self.password = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue