Skip to content

Commit d76128f

Browse files
committed
minor condition move
1 parent 8c1f6d1 commit d76128f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mp_api/client/core/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ def _query_resource(
506506
for page in pages:
507507
for obj in page.get("Contents", []):
508508
key = obj.get("Key")
509-
if key:
509+
if key and "manifest" not in key:
510510
keys.append(key)
511511

512512
if len(keys) < 1:
@@ -533,7 +533,6 @@ def _query_resource(
533533
"fields": fields,
534534
}
535535
for key in keys
536-
if "manifest" not in key
537536
}
538537

539538
# Setup progress bar
@@ -948,6 +947,7 @@ def _multi_thread(
948947
else:
949948
size = 1
950949
progress_bar.update(size)
950+
951951
return_data.append((data, subtotal, future.crit_ind)) # type: ignore
952952

953953
# Populate more futures to replace finished

0 commit comments

Comments
 (0)