From 447af53ef3d1c8f62d09a692236d881bcf7fc312 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 29 Dec 2015 14:00:56 +0100 Subject: [PATCH] hooks are not mandatory --- letsencrypt-tiny | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt-tiny b/letsencrypt-tiny index 658eb07..c6b4cc0 100755 --- a/letsencrypt-tiny +++ b/letsencrypt-tiny @@ -35,7 +35,7 @@ def make_backup(fname): def trigger_hook(hook): global config - exe = config['hooks'][hook] + exe = config['hooks'].get(hook) if exe is not None: subprocess.check_call([exe]) -- 2.30.2