Skip to content

Commit aac015e

Browse files
authored
Fix backup manager delete backup error filter (#151490)
1 parent 1f584f0 commit aac015e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

homeassistant/components/backup/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,8 @@ async def async_delete_filtered_backups(
896896
)
897897
agent_errors = {
898898
backup_id: error
899-
for backup_id, error in zip(backup_ids, delete_results, strict=True)
899+
for backup_id, error_dict in zip(backup_ids, delete_results, strict=True)
900+
for error in error_dict.values()
900901
if error and not isinstance(error, BackupNotFound)
901902
}
902903
if agent_errors:

0 commit comments

Comments
 (0)