Make sure we init housekeeping variables

This commit is contained in:
deajan 2025-01-10 02:55:35 +01:00
parent 83af4ee2d5
commit 313fcb51f2

View file

@ -1495,8 +1495,11 @@ class NPBackupRunner:
"args": None,
}
unlock_result = self.unlock(**kwargs)
check_result = None
forget_result = None
prune_result = None
unlock_result = self.unlock(**kwargs)
if (isinstance(unlock_result, bool) and unlock_result) or (
isinstance(unlock_result, dict) and unlock_result["result"]
):