Update cli.py

correct index begin
This commit is contained in:
Hossein Shafagh 2021-01-15 17:17:56 -08:00 committed by GitHub
parent f5cd7ecbd5
commit a62a562a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ def deactivate_entrust_certificates():
certificates = get_all_valid_certs(['entrust-issuer'])
entrust_plugin = plugins.get('entrust-issuer')
for index, cert in enumerate(certificates, start=1):
for index, cert in enumerate(certificates):
if (index % 10) == 0:
# Entrust enforces a 10 request per 30s rate limit
sleep(30)