diff --git a/backend/app/services/download_service.py b/backend/app/services/download_service.py index 03df0c3..a913d83 100644 --- a/backend/app/services/download_service.py +++ b/backend/app/services/download_service.py @@ -384,7 +384,7 @@ class DownloadService: # captured so the artist archive is complete. Upsert each (keyed on # external_post_id → updates the same Post a media import would create, # never doubles). No file to clean up; the sidecar stays on disk. - for rec_str in dl_result.post_record_paths or []: + for rec_str in getattr(dl_result, "post_record_paths", None) or []: rec_path = Path(rec_str) if not rec_path.exists(): # noqa: ASYNC240 continue