mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
fix qr menu pause
This commit is contained in:
@@ -1918,6 +1918,7 @@ class PasswordManager:
|
|||||||
self._entry_edit_menu(index, entry)
|
self._entry_edit_menu(index, entry)
|
||||||
elif choice == "q":
|
elif choice == "q":
|
||||||
self._entry_qr_menu(index, entry)
|
self._entry_qr_menu(index, entry)
|
||||||
|
pause()
|
||||||
else:
|
else:
|
||||||
print(colored("Invalid choice.", "red"))
|
print(colored("Invalid choice.", "red"))
|
||||||
entry = self.entry_manager.retrieve_entry(index) or entry
|
entry = self.entry_manager.retrieve_entry(index) or entry
|
||||||
@@ -2003,6 +2004,7 @@ class PasswordManager:
|
|||||||
from password_manager.seedqr import encode_seedqr
|
from password_manager.seedqr import encode_seedqr
|
||||||
|
|
||||||
TotpManager.print_qr_code(encode_seedqr(seed))
|
TotpManager.print_qr_code(encode_seedqr(seed))
|
||||||
|
pause()
|
||||||
return
|
return
|
||||||
|
|
||||||
if entry_type == EntryType.NOSTR.value:
|
if entry_type == EntryType.NOSTR.value:
|
||||||
@@ -2038,6 +2040,7 @@ class PasswordManager:
|
|||||||
TotpManager.print_qr_code(nsec)
|
TotpManager.print_qr_code(nsec)
|
||||||
else:
|
else:
|
||||||
print(colored("Invalid choice.", "red"))
|
print(colored("Invalid choice.", "red"))
|
||||||
|
pause()
|
||||||
entry = self.entry_manager.retrieve_entry(index) or entry
|
entry = self.entry_manager.retrieve_entry(index) or entry
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user