mirror of
https://github.com/PretendoNetwork/archival-tools.git
synced 2024-05-15 11:30:00 -04:00
smm: change elif len(objects) == 100 to elif len(objects) > 0
This commit is contained in:
parent
203dbbb34c
commit
d37dbd7a65
|
@ -427,7 +427,7 @@ async def main():
|
|||
if last_object_upload_timestamp >= max_timestamp:
|
||||
print("Max timestamp reached. Stop searching")
|
||||
keep_searching = False
|
||||
elif len(objects) == 100:
|
||||
elif len(objects) > 0:
|
||||
print("More objects may be available, trying new offset!")
|
||||
# * Set new timestamp to the upload date of the last
|
||||
# * returned object, so we don't skip any
|
||||
|
|
Loading…
Reference in a new issue