fix: redundant check for available_document_count (#8491)

This commit is contained in:
omr 2024-09-22 14:39:41 +09:00 committed by GitHub
parent ddf6569dc5
commit 8fd297f8b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ class DatasetRetrieval:
continue
# pass if dataset is not available
if dataset and dataset.available_document_count == 0 and dataset.available_document_count == 0:
if dataset and dataset.available_document_count == 0:
continue
available_datasets.append(dataset)
@ -468,7 +468,7 @@ class DatasetRetrieval:
continue
# pass if dataset is not available
if dataset and dataset.available_document_count == 0 and dataset.available_document_count == 0:
if dataset and dataset.available_document_count == 0:
continue
available_datasets.append(dataset)