Skip to content

Commit 9472e2b

Browse files
anarchivistawilfox
andauthored
Update mokelumne/dags/fetch_images.py
Co-authored-by: Anna Wilcox <AWilcox@Wilcox-Tech.com>
1 parent d729c95 commit 9472e2b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mokelumne/dags/fetch_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ def fetch_image_to_record_directory(orig_run_id: str, tind_id: str) -> RunStatus
6161
client = FetchTind(orig_run_id)
6262
filemd = client.client.fetch_file_metadata(tind_id)
6363
if filemd[0].get("mime") in SUPPORTED_IMAGE_TYPES:
64-
path = client.download_image_file(tind_id)
65-
status = "fetched"
64+
path = client.download_image_file(tind_id)
65+
status = "fetched"
6666
else:
6767
path = ""
6868
status = f"skipped: Unsupported file type {filemd[0].get('mime')}"

0 commit comments

Comments
 (0)