Only execute actions once

instead of once per domain
This commit is contained in:
David Klaftenegger 2016-04-07 00:43:57 +02:00 committed by Markus Hauschild
parent dc83df8d97
commit 9624f8c704
1 changed files with 4 additions and 4 deletions

View File

@ -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())