From 5346f0e6e1f11d62e13da4ea5d12beb2040265d6 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 10 Feb 2020 08:42:50 -0600 Subject: service https: T1585: add missing check in verify() --- src/conf_mode/https.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py index 2b492be26..5d90b2b53 100755 --- a/src/conf_mode/https.py +++ b/src/conf_mode/https.py @@ -162,6 +162,9 @@ def get_config(): return https def verify(https): + if https is None: + return None + if https['certbot']: for sb in https['server_block_list']: if sb['certbot']: -- cgit v1.2.3