Merge dev → main: #830 rich post capture + external-host downloads (+ #768/#789/#739) #102
@@ -384,7 +384,7 @@ class DownloadService:
|
|||||||
# captured so the artist archive is complete. Upsert each (keyed on
|
# captured so the artist archive is complete. Upsert each (keyed on
|
||||||
# external_post_id → updates the same Post a media import would create,
|
# external_post_id → updates the same Post a media import would create,
|
||||||
# never doubles). No file to clean up; the sidecar stays on disk.
|
# 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)
|
rec_path = Path(rec_str)
|
||||||
if not rec_path.exists(): # noqa: ASYNC240
|
if not rec_path.exists(): # noqa: ASYNC240
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user