mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Only load files ending .metadata.json
in WebDAV (#142388)
This commit is contained in:
committed by
GitHub
parent
62845fe4a7
commit
638b88c61c
@@ -231,7 +231,7 @@ class WebDavBackupAgent(BackupAgent):
|
||||
return {
|
||||
metadata_content.backup_id: metadata_content
|
||||
for file_name in files
|
||||
if file_name.endswith(".json")
|
||||
if file_name.endswith(".metadata.json")
|
||||
if (metadata_content := await _download_metadata(file_name))
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user