mirror of
https://github.com/certbot/certbot.git
synced 2026-04-25 08:07:16 -04:00
bool(len([])) == bool([])
This commit is contained in:
parent
458c7c8131
commit
dae9eee7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def run_saved_post_hooks():
|
|||
for cmd in post_hook.eventually:
|
||||
logger.info("Running post-hook command: %s", cmd)
|
||||
_run_hook(cmd)
|
||||
if len(post_hook.eventually) == 0:
|
||||
if not post_hook.eventually:
|
||||
logger.info("No renewals attempted, so not running post-hook")
|
||||
|
||||
def renew_hook(config, domains, lineage_path):
|
||||
|
|
|
|||
Loading…
Reference in a new issue