From bbad3aae7b853b594a2e460fc5dffd044800133c Mon Sep 17 00:00:00 2001 From: Sam Minot Date: Thu, 27 Jun 2024 15:40:51 -0700 Subject: [PATCH] Ensure that domain is not None --- cirro/services/dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirro/services/dataset.py b/cirro/services/dataset.py index 7b098437..626533b0 100644 --- a/cirro/services/dataset.py +++ b/cirro/services/dataset.py @@ -152,9 +152,9 @@ def get_file_listing(self, project_id: str, dataset_id: str, file_limit: int = 1 all_files.extend(manifest.files) file_offset += len(manifest.files) + domain = manifest.domain if len(all_files) >= manifest.total_files or len(manifest.files) == 0: break - domain = manifest.domain files = [ File.from_file_entry(