Skip to content
Snippets Groups Projects
Unverified Commit 014954ca authored by Ayub's avatar Ayub Committed by GitHub
Browse files

Merge pull request #21709 from edx/BOM-629

BOM-629
parents fe61a3cd d1b5c51b
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ class Command(BaseCommand):
)
return
for batch_num in range(num_batches):
for batch_num in range(int(num_batches)):
start = batch_num * batch_size + 1 # ids are 1-based, so add 1
end = min(start + batch_size, total + 1)
expire_old_entitlements.delay(start, end, logid=str(batch_num))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment