From 9624f8c70425d92f71026a1b91308554636d0d84 Mon Sep 17 00:00:00 2001 From: David Klaftenegger Date: Thu, 7 Apr 2016 00:43:57 +0200 Subject: [PATCH] Only execute actions once instead of once per domain --- acertmgr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acertmgr.py b/acertmgr.py index a23c867..de18e6a 100755 --- a/acertmgr.py +++ b/acertmgr.py @@ -216,7 +216,7 @@ if __name__ == "__main__": if not target_isCurrent(cfg['path'], crt_file): actions.add(cert_put(domains, cfg)) - # run post-update actions - for action in actions: - if action is not None: - subprocess.call(action.split()) + # run post-update actions + for action in actions: + if action is not None: + subprocess.call(action.split())