mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
fix archived list after restore
This commit is contained in:
@@ -2403,7 +2403,10 @@ class PasswordManager:
|
||||
self.is_dirty = True
|
||||
self.last_update = time.time()
|
||||
pause()
|
||||
archived = [e for e in archived if e[0] != entry_index]
|
||||
archived = self.entry_manager.list_entries(
|
||||
include_archived=True
|
||||
)
|
||||
archived = [e for e in archived if e[4]]
|
||||
if not archived:
|
||||
print(colored("All entries restored.", "green"))
|
||||
pause()
|
||||
|
Reference in New Issue
Block a user