ebcrypted backup part 3

This commit is contained in:
2025-09-04 13:43:37 +02:00
parent 3f5bac2d7e
commit 76a27e12b2
2 changed files with 2 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ class BackupManager:
rm -rf '{path}'
rm -f '{info_file}'
"""
if self._execute_as_root(script_content):
if self.encryption_manager._execute_as_root(script_content):
self.logger.log(f"Successfully deleted {path} and {info_file}")
queue.put(('deletion_complete', True))
else:

View File

@@ -303,6 +303,7 @@ class MainApplication(tk.Tk):
self.protocol("WM_DELETE_WINDOW", self.on_closing)
def _load_state_and_initialize(self):
self.log_window.clear_log()
"""Loads saved state from config and initializes the UI."""
last_mode = self.config_manager.get_setting("last_mode", "backup")