mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 07:48:57 +00:00
refactor: streamline retrieve flow
This commit is contained in:
@@ -2494,11 +2494,6 @@ class PasswordManager:
|
|||||||
return
|
return
|
||||||
|
|
||||||
self.display_sensitive_entry_info(entry, index)
|
self.display_sensitive_entry_info(entry, index)
|
||||||
pause()
|
|
||||||
|
|
||||||
if getattr(self, "_suppress_entry_actions_menu", False):
|
|
||||||
return
|
|
||||||
|
|
||||||
self._entry_actions_menu(index, entry)
|
self._entry_actions_menu(index, entry)
|
||||||
pause()
|
pause()
|
||||||
return
|
return
|
||||||
@@ -3910,9 +3905,9 @@ class PasswordManager:
|
|||||||
)
|
)
|
||||||
stats["backup_count"] = len(backups)
|
stats["backup_count"] = len(backups)
|
||||||
stats["backup_dir"] = str(self.backup_manager.backup_dir)
|
stats["backup_dir"] = str(self.backup_manager.backup_dir)
|
||||||
stats[
|
stats["additional_backup_path"] = (
|
||||||
"additional_backup_path"
|
self.config_manager.get_additional_backup_path()
|
||||||
] = self.config_manager.get_additional_backup_path()
|
)
|
||||||
|
|
||||||
# Nostr sync info
|
# Nostr sync info
|
||||||
manifest = getattr(self.nostr_client, "current_manifest", None)
|
manifest = getattr(self.nostr_client, "current_manifest", None)
|
||||||
|
@@ -55,4 +55,4 @@ def test_pause_before_entry_actions(monkeypatch, adder, needs_confirm):
|
|||||||
)
|
)
|
||||||
|
|
||||||
pm.handle_retrieve_entry()
|
pm.handle_retrieve_entry()
|
||||||
assert len(pause_calls) == 2
|
assert len(pause_calls) == 1
|
||||||
|
Reference in New Issue
Block a user