mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
Merge pull request #562 from PR0M3TH3AN/codex/refactor-handle_retrieve_entry-method
Streamline retrieval flow
This commit is contained in:
@@ -2494,11 +2494,6 @@ class PasswordManager:
|
||||
return
|
||||
|
||||
self.display_sensitive_entry_info(entry, index)
|
||||
pause()
|
||||
|
||||
if getattr(self, "_suppress_entry_actions_menu", False):
|
||||
return
|
||||
|
||||
self._entry_actions_menu(index, entry)
|
||||
pause()
|
||||
return
|
||||
@@ -3910,9 +3905,9 @@ class PasswordManager:
|
||||
)
|
||||
stats["backup_count"] = len(backups)
|
||||
stats["backup_dir"] = str(self.backup_manager.backup_dir)
|
||||
stats[
|
||||
"additional_backup_path"
|
||||
] = self.config_manager.get_additional_backup_path()
|
||||
stats["additional_backup_path"] = (
|
||||
self.config_manager.get_additional_backup_path()
|
||||
)
|
||||
|
||||
# Nostr sync info
|
||||
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()
|
||||
assert len(pause_calls) == 2
|
||||
assert len(pause_calls) == 1
|
||||
|
Reference in New Issue
Block a user