mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-09 06:12:28 +00:00
Run backup after configuring additional location
This commit is contained in:
1 parent
6c9b3c2d5b
commit
6e8288e651
2 files changed
+4
-1
No files matched your search
@@ -514,6 +514,8 @@ def handle_set_additional_backup_location(pm: PasswordManager) -> None:
|
||||
try:
|
||||
cfg_mgr.set_additional_backup_path(str(path))
|
||||
print(colored(f"Additional backups will be copied to {path}", "green"))
|
||||
if pm.backup_manager is not None:
|
||||
pm.backup_manager.create_backup()
|
||||
except Exception as e:
|
||||
logging.error(f"Error saving backup path: {e}")
|
||||
print(colored(f"Error: {e}", "red"))
|
||||
|
||||
Reference in new issue
Block a user